Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultHTTPClient = &http.Client{}
Functions ¶
func CloseIdleHTTPConnections ¶
CloseIdleHTTPConnections closes any connections which were previously connected from previous requests but are now sitting idle in a "keep-alive" state. It does not interrupt any connections currently in use.
Borrowed from the Go standard library.
func NewHTTPClient ¶ added in v2.2.3
NewHTTPClient will return the globally-defined DefaultHTTPClient, updating the transport if it differs from the http package DefaultTransport.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.