(headers map[string]string, body []byte, bodyStream io.ReadWriter)
| 136 | } |
| 137 | |
| 138 | func 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 | |
| 146 | func (ir *InvokeProxyRequest) SetHeader(k string, v string) { |
| 147 | hMap := ir.Headers |
no outgoing calls
no test coverage detected