Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(cookie *http.Cookie) wrapper.CallWrapper
Add adds a cookie to the request. Per RFC 6265 section 5.4, AddCookie does not attach more than one Cookie header field. That means all cookies, if any, are written into the same line, separated by semicolon.
func AddCookies ¶ added in v0.1.14
func AddCookies(cookies []*http.Cookie) wrapper.CallWrapper
AddCookies add multi cookies.
func DelAll ¶
func DelAll() wrapper.CallWrapper
DelAll deletes all the cookies by deleting the Cookie header field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.