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

Method SetHeader

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

Source from the content-addressed store, hash-verified

94}
95
96func (iresp *InvokeResponse) SetHeader(k, v string) {
97 iresp.headers[k] = v
98}
99
100func (iresp *InvokeResponse) StatusCode() int {
101 return iresp.code

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected