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

Method ServeHTTP

api.go:60–60  ·  view source on GitHub ↗
(http.ResponseWriter, *http.Request)

Source from the content-addressed store, hash-verified

58type Adapter interface {
59 Handle(op *Operation, handler func(ctx Context))
60 ServeHTTP(http.ResponseWriter, *http.Request)
61}
62
63// Context is the current request/response context. It provides a generic

Callers 15

RecovererFunction · 0.65
TestFeaturesFunction · 0.65
TestOpenAPIFunction · 0.65
TestExhaustiveErrorsFunction · 0.65
TestClientDisconnectFunction · 0.65
TestResolverCustomStatusFunction · 0.65
TestResolverWithPointerFunction · 0.65

Implementers 8

fiberV2Adapteradapters/humafiber/humafiber_v2.go
fiberAdapteradapters/humafiber/humafiber.go
bunCompatAdapteradapters/humabunrouter/humabunrouter.g
bunAdapteradapters/humabunrouter/humabunrouter.g
Muxadapters/humaflow/flow/flow.go
gMuxadapters/humamux/humamux.go
httprouterAdapteradapters/humahttprouter/humahttprouter
chiAdapteradapters/humachi/humachi.go

Calls

no outgoing calls

Tested by 13

RecovererFunction · 0.52
TestFeaturesFunction · 0.52
TestOpenAPIFunction · 0.52
TestExhaustiveErrorsFunction · 0.52
TestClientDisconnectFunction · 0.52
TestResolverCustomStatusFunction · 0.52
TestResolverWithPointerFunction · 0.52