SetHTTPClient sets the HTTP client used for API requests. Configure it before use.
(client *http.Client)
| 150 | |
| 151 | // SetHTTPClient sets the HTTP client used for API requests. Configure it before use. |
| 152 | func (c *Client) SetHTTPClient(client *http.Client) { |
| 153 | c.httpClient = client |
| 154 | } |
| 155 | |
| 156 | // ServerIdentity proves possession of the returned server key with a fresh challenge. |
| 157 | // It sends no credentials, ignores cookie jars and refuses redirects and URL userinfo. |
no outgoing calls