// SetTimeout sets the Timeout for HTTP requests.
SetTimeout sets the Timeout for HTTP requests.
// SetTimeout sets the Timeout for HTTP requests .
func (c *Client) SetTimeout(timeout time.Duration) {
	if c.HTTPClient == nil {
		c.HTTPClient = defaultHTTPClient()
	}
	c.HTTPClient.Timeout = timeout
}
func ( c * Client ) SetTimeout ( timeout time . Duration ) { if c . HTTPClient == nil { c . HTTPClient = defaultHTTPClient ( ) } c . HTTPClient . Timeout = timeout }
SetTimeout sets the Timeout for HTTP requests.
SetTimeout sets the Timeout for HTTP requests .