Skip to content

Commit

Permalink
update comment for SetCookieJar
Browse files Browse the repository at this point in the history
  • Loading branch information
imroc committed Aug 15, 2022
1 parent 2861e6a commit 6a39a63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,8 @@ func (c *Client) EnableTraceAll() *Client {
return c
}

// SetCookieJar set the `CookeJar` to the underlying `http.Client`.
// SetCookieJar set the `CookeJar` to the underlying `http.Client`, set to nil if you
// want to disable cookie.
func (c *Client) SetCookieJar(jar http.CookieJar) *Client {
c.httpClient.Jar = jar
return c
Expand Down

0 comments on commit 6a39a63

Please sign in to comment.