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

Function NewInvokeProxyRequest

pkg/api/controller.go:138–144  ·  view source on GitHub ↗
(headers map[string]string, body []byte, bodyStream io.ReadWriter)

Source from the content-addressed store, hash-verified

136}
137
138func NewInvokeProxyRequest(headers map[string]string, body []byte, bodyStream io.ReadWriter) *InvokeProxyRequest {
139 return &InvokeProxyRequest{
140 Headers: headers,
141 Body: body,
142 BodyStream: bodyStream,
143 }
144}
145
146func (ir *InvokeProxyRequest) SetHeader(k string, v string) {
147 hMap := ir.Headers

Callers 2

generateInvokeRequestFunction · 0.92
InvokeMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected