MCPcopy
hub / github.com/nats-io/nats.go / Add

Method Add

test/headers_test.go:251–251  ·  view source on GitHub ↗
(key, value string)

Source from the content-addressed store, hash-verified

249 // Validate that can be used interchangeably with http.Header
250 type HeaderInterface interface {
251 Add(key, value string)
252 Del(key string)
253 Get(key string) string
254 Set(key, value string)

Callers 15

TestWSReaderFunction · 0.65
wsInitHandshakeMethod · 0.65
PurgeDeletesMethod · 0.65
TestHeaderMultiLineFunction · 0.65
TestLameDuckModeFunction · 0.65
ReadMethod · 0.65
processConnectInitMethod · 0.65

Calls

no outgoing calls

Tested by 15

TestWSReaderFunction · 0.52
TestHeaderMultiLineFunction · 0.52
TestLameDuckModeFunction · 0.52
ExampleSubOptFunction · 0.52
TestCallbacksOrderFunction · 0.52
TestCustomFlusherTimeoutFunction · 0.52