StatusCode returns the HTTP status code of the executed request.
()
| 41 | |
| 42 | // StatusCode returns the HTTP status code of the executed request. |
| 43 | func (r *Response) StatusCode() int { |
| 44 | return r.RawResponse.StatusCode() |
| 45 | } |
| 46 | |
| 47 | // Protocol returns the HTTP protocol used for the request. |
| 48 | func (r *Response) Protocol() string { |
no outgoing calls