DelCookies deletes one or more cookies and their values from the client.
(key ...string)
| 650 | |
| 651 | // DelCookies deletes one or more cookies and their values from the client. |
| 652 | func (c *Client) DelCookies(key ...string) *Client { |
| 653 | c.mu.Lock() |
| 654 | defer c.mu.Unlock() |
| 655 | |
| 656 | c.cookies.DelCookies(key...) |
| 657 | return c |
| 658 | } |
| 659 | |
| 660 | // SetTimeout sets the timeout value for the client. This applies to all requests unless overridden at the request level. |
| 661 | func (c *Client) SetTimeout(t time.Duration) *Client { |