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

Method AddHeader

encoding/httpbinding/header.go:19–21  ·  view source on GitHub ↗

AddHeader returns a HeaderValue used to append values to prefix+key

(key string)

Source from the content-addressed store, hash-verified

17
18// AddHeader returns a HeaderValue used to append values to prefix+key
19func (h Headers) AddHeader(key string) HeaderValue {
20 return h.newHeaderValue(key, true)
21}
22
23// SetHeader returns a HeaderValue used to set the value of prefix+key
24func (h Headers) SetHeader(key string) HeaderValue {

Callers 1

TestEncoderFunction · 0.45

Calls 1

newHeaderValueMethod · 0.95

Tested by 1

TestEncoderFunction · 0.36