diff --git a/client.go b/client.go index 3c665c3..0ca0cc3 100644 --- a/client.go +++ b/client.go @@ -37,6 +37,10 @@ func (c *Client) SetHeader(key, value string) { c.headers.Add(key, value) } +func (c *Client) SetTransport(transport http.RoundTripper) { + c.c.Transport = transport +} + func (c *Client) Connect() error { rs, err := c.options("/") if err == nil {