SetTimeout set timeout for requests fired from the client.
(d time.Duration)
| 586 | |
| 587 | // SetTimeout set timeout for requests fired from the client. |
| 588 | func (c *Client) SetTimeout(d time.Duration) *Client { |
| 589 | c.httpClient.Timeout = d |
| 590 | return c |
| 591 | } |
| 592 | |
| 593 | func (c *Client) getDumpOptions() *DumpOptions { |
| 594 | if c.dumpOptions == nil { |
no outgoing calls