MCPcopy
hub / github.com/gofiber/fiber / Scheme

Method Scheme

req_interface_gen.go:150–150  ·  view source on GitHub ↗

Scheme contains the request protocol string: http or https for TLS requests. Please use Config.TrustProxy to prevent header spoofing if your app is behind a proxy.

()

Source from the content-addressed store, hash-verified

148 // Scheme contains the request protocol string: http or https for TLS requests.
149 // Please use Config.TrustProxy to prevent header spoofing if your app is behind a proxy.
150 Scheme() string
151 // Protocol returns the HTTP protocol of request: HTTP/1.1 and HTTP/2.
152 Protocol() string
153 // Query returns the query string parameter in the url.

Callers 15

BackMethod · 0.65
FullURLMethod · 0.65
BaseURLMethod · 0.65
SecureMethod · 0.65
Test_Ctx_SchemeFunction · 0.65
Benchmark_Ctx_SchemeFunction · 0.65
composeRedirectURLFunction · 0.65

Implementers 1

Calls

no outgoing calls