Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpWithCookies ¶
type HttpWithCookies struct {
// contains filtered or unexported fields
}
HttpWithCookies implements Requester with the default net/http Client. Also, a map of cookie jars is utilized to choose between and manipulate the behavior of cookie handling.
func NewHttpWithCookies ¶
func NewHttpWithCookies(cfg func(client *http.Client)) *HttpWithCookies
NewHttpWithCookies returns a new instance of HttpWithCookies. cfg is getting passed the instance of http.Client which you can configure as you desire.
type Options ¶
Options wraps request specific options.
func OptionsFromMap ¶
OptionsFromMap takes a map and builds an Options instance from matching key-value pairs.
Click to show internal directories.
Click to hide internal directories.