MCPcopy Create free account
hub / github.com/andeya/erpc / AddMeta

Method AddMeta

context.go:279–281  ·  view source on GitHub ↗

AddMeta adds the header metadata 'key=value' for reply message. Multiple values for the same key may be added.

(key, value string)

Source from the content-addressed store, hash-verified

277// AddMeta adds the header metadata 'key=value' for reply message.
278// Multiple values for the same key may be added.
279func (c *handlerCtx) AddMeta(key, value string) {
280 c.output.Meta().Add(key, value)
281}
282
283// SetMeta sets the header metadata 'key=value' for reply message.
284func (c *handlerCtx) SetMeta(key, value string) {

Callers

nothing calls this directly

Calls 2

MetaMethod · 0.65
AddMethod · 0.45

Tested by

no test coverage detected