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

Method SetHeader

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

Source from the content-addressed store, hash-verified

171}
172
173func (ir *InvokeProxyResponse) SetHeader(k string, v string) {
174 hMap := ir.Headers
175 hMap[k] = v
176}
177
178func (ir *InvokeProxyResponse) SetBody(msg []byte) {
179 ir.Body = msg

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected