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

Method Header

client/request.go:130–132  ·  view source on GitHub ↗

Header returns all values associated with the given header key.

(key string)

Source from the content-addressed store, hash-verified

128
129// Header returns all values associated with the given header key.
130func (r *Request) Header(key string) []string {
131 return r.header.PeekMultiple(key)
132}
133
134type pair struct {
135 k []string

Callers

nothing calls this directly

Calls 1

PeekMultipleMethod · 0.80

Tested by

no test coverage detected