Body returns the HTTP response body as a byte slice.
()
| 86 | |
| 87 | // Body returns the HTTP response body as a byte slice. |
| 88 | func (r *Response) Body() []byte { |
| 89 | return r.RawResponse.Body() |
| 90 | } |
| 91 | |
| 92 | // BodyStream returns the response body as a stream reader. |
| 93 | // Note: When using BodyStream(), the response body is not copied to memory, |