MCPcopy Create free account
hub / github.com/aws/smithy-go / Headers

Method Headers

encoding/httpbinding/encode.go:91–96  ·  view source on GitHub ↗

Headers returns a Header used for encoding headers with the given prefix

(prefix string)

Source from the content-addressed store, hash-verified

89
90// Headers returns a Header used for encoding headers with the given prefix
91func (e *Encoder) Headers(prefix string) Headers {
92 return Headers{
93 header: e.header,
94 prefix: strings.TrimSpace(prefix),
95 }
96}
97
98// HasHeader returns if a header with the key specified exists with one or
99// more value.

Callers 1

TestEncoderFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestEncoderFunction · 0.76