Documentation ¶
Overview ¶
Package httputil provides HTTP utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GracefulClose ¶
GracefulClose drains http.Response.Body until it hits EOF and closes it. This prevents TCP/TLS connections from closing, therefore available for reuse.
func RequestCanceler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.