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

Method SetHeaders

pkg/api/controller.go:92–94  ·  view source on GitHub ↗
(hMap *map[string]string)

Source from the content-addressed store, hash-verified

90}
91
92func (iresp *InvokeResponse) SetHeaders(hMap *map[string]string) {
93 iresp.headers = *hMap
94}
95
96func (iresp *InvokeResponse) SetHeader(k, v string) {
97 iresp.headers[k] = v

Callers 1

InvokeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected