Documentation
¶
Overview ¶
Package httpx provides an HTTP client for PSFuzz with proxy, TLS, throttling, and safe-mode (no loopback) support.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
New builds an HTTP client from cfg. Returns an error if cfg is nil (callers can handle instead of panic).
func (*Client) Close ¶
func (c *Client) Close()
Close releases resources (e.g. rate-limit ticker). Call when the client is no longer used.
type DoResult ¶
DoResult holds the HTTP response and the final URL after following redirects (when FollowRedirects is true). FinalURL is the URL that produced Resp; if redirects were followed, it differs from the initial request URL.
Click to show internal directories.
Click to hide internal directories.