IsStreaming returns true if the response body is being streamed.
()
| 102 | |
| 103 | // IsStreaming returns true if the response body is being streamed. |
| 104 | func (r *Response) IsStreaming() bool { |
| 105 | return r.RawResponse.BodyStream() != nil |
| 106 | } |
| 107 | |
| 108 | // String returns the response body as a trimmed string. |
| 109 | func (r *Response) String() string { |