()
| 51 | } |
| 52 | |
| 53 | func NewInvokeResponse() *InvokeResponse { |
| 54 | h := make(map[string]string, 0) |
| 55 | b := make([]byte, 0) |
| 56 | return &InvokeResponse{ |
| 57 | headers: h, |
| 58 | bodyRaw: b, |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | func (iresp *InvokeResponse) Body() []byte { |
| 63 | return iresp.bodyRaw |