SetBaseURL set the default base URL, will be used if request URL is a relative URL.
(u string)
| 256 | // SetBaseURL set the default base URL, will be used if request URL is |
| 257 | // a relative URL. |
| 258 | func (c *Client) SetBaseURL(u string) *Client { |
| 259 | c.BaseURL = strings.TrimRight(u, "/") |
| 260 | return c |
| 261 | } |
| 262 | |
| 263 | // SetOutputDirectory set output directory that response will |
| 264 | // be downloaded to. |
no outgoing calls