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

Method HasHeader

ctx_interface_gen.go:230–230  ·  view source on GitHub ↗

HasHeader reports whether the request includes a header with the given key.

(key string)

Source from the content-addressed store, hash-verified

228 AcceptEncoding() string
229 // HasHeader reports whether the request includes a header with the given key.
230 HasHeader(key string) bool
231 // MediaType returns the MIME type from the Content-Type header without parameters.
232 MediaType() string
233 // Charset returns the charset parameter from the Content-Type header.

Callers 1

Test_Ctx_HeaderHelpersFunction · 0.65

Calls

no outgoing calls

Tested by 1

Test_Ctx_HeaderHelpersFunction · 0.52