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

Method Query

adapters/humahttprouter/humahttprouter.go:81–83  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

79}
80
81func (c *httprouterContext) Query(name string) string {
82 return queryparam.Get(c.r.URL.RawQuery, name)
83}
84
85func (c *httprouterContext) Header(name string) string {
86 return c.r.Header.Get(name)

Callers

nothing calls this directly

Calls 1

GetFunction · 0.92

Tested by

no test coverage detected