MCPcopy
hub / github.com/danielgtaylor/huma / Header

Method Header

api.go:97–97  ·  view source on GitHub ↗

Header returns the value for the given header.

(name string)

Source from the content-addressed store, hash-verified

95
96 // Header returns the value for the given header.
97 Header(name string) string
98
99 // EachHeader iterates over all headers and calls the given callback with
100 // the header name and value.

Callers 15

getSchemaHostFunction · 0.65
TestDocsRenderersFunction · 0.65
TestFeaturesFunction · 0.65
TestErrorWithHeadersFunction · 0.65
writeResponseFunction · 0.65
RegisterFunction · 0.65
getParamValueFunction · 0.65
TestHumaTestUtilsFunction · 0.65
TestContextFunction · 0.65
testAdapterFunction · 0.65

Implementers 11

fiberV2Wrapperadapters/humafiber/humafiber_v2.go
fiberWrapperadapters/humafiber/humafiber.go
bunContextadapters/humabunrouter/humabunrouter.g
bunCompatContextadapters/humabunrouter/humabunrouter.g
goContextadapters/humaflow/humaflow.go
gmuxContextadapters/humamux/humamux.go
ginCtxadapters/humagin/humagin.go
echoCtxadapters/humaecho/humaecho.go
httprouterContextadapters/humahttprouter/humahttprouter
goContextadapters/humago/humago.go
chiContextadapters/humachi/humachi.go

Calls

no outgoing calls

Tested by 15

TestDocsRenderersFunction · 0.52
TestFeaturesFunction · 0.52
TestErrorWithHeadersFunction · 0.52
TestHumaTestUtilsFunction · 0.52
TestContextFunction · 0.52
testAdapterFunction · 0.52
HumaMiddlewareFunction · 0.52
BenchmarkRawBunRouterFunction · 0.52
TestCustomMiddlewareFunction · 0.52