# Functions
No description provided by the author
No description provided by the author
No description provided by the author
NewClient creates a new instance of the Client with specified options.
NewConcurrentRequestLimiter creates a new instance of ConcurrentRequestLimiter with the specified limit to apply.
No description provided by the author
RetryIfNotSuccess is a basic retry function which will retry on any non 2xx status code.
RetryIfTooManyRequests return true for responses with status code Too Many Requests (429).
RetryOnFailureExcept404 returns true for all failed responses except those with status not found.
No description provided by the author
WithConcurrentRequestLimit sets the maximum number of concurrent requests allowed.
WithHTTPListener sets the HTTPListener for the Client.
WithRateLimiter activates a RateLimiter for the Client.
WithRetryOptions sets the RetryOptions for the Client.
WithTimeout sets the request timeout for the Client.
# Structs
Client represents a general HTTP client.
ConcurrentRequestLimiter represents a component for limiting concurrent requests.
HTTPListener is a struct that can be used to listen for HTTP requests and responses and invoke a user-defined callback function.
No description provided by the author
RequestInfo holds information about the original request that led to this response.
RequestOptions are additional options that should be applied to a request.
RequestResponse represents a recorded HTTP request and response.
RetryOptions represents a component for retrying failed HTTP requests.
# Interfaces
No description provided by the author