MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / SetHeader

Method SetHeader

pkg/api/controller.go:146–149  ·  view source on GitHub ↗
(k string, v string)

Source from the content-addressed store, hash-verified

144}
145
146func (ir *InvokeProxyRequest) SetHeader(k string, v string) {
147 hMap := ir.Headers
148 hMap[k] = v
149}
150
151func (ir *InvokeProxyRequest) SetBody(msg []byte) {
152 ir.Body = msg

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected