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

Method SetBodyStream

pkg/api/controller.go:79–81  ·  view source on GitHub ↗
(bs io.ReadCloser)

Source from the content-addressed store, hash-verified

77}
78
79func (iresp *InvokeResponse) SetBodyStream(bs io.ReadCloser) {
80 iresp.bodyStream = bs
81}
82
83func (iresp *InvokeResponse) Headers() *map[string]string {
84 return &iresp.headers

Callers 3

makeHTTPResponseFunction · 0.80
InvokeMethod · 0.80
RequestControllerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected