# Functions

BasicAuthenticationMiddleware applies basic authentication to the HTTP header "Authorization" in the outgoing request.
ContextualMiddleware is a middleware that allows the outgoing request to be modified with contextual middlewares.
ContextualMiddlewareFromContext returns middlewares from context, if any.
CountBytesReader counts the total amount of bytes read from the underlying reader.
CustomHeadersMiddleware applies custom HTTP headers to the outgoing request.
No description provided by the author
DefaultMiddlewares is the default middleware applied when creating new HTTP clients and no middleware is provided.
ErrorSourceMiddleware inspect the response error and wraps it in a [status.DownstreamError] if [status.IsDownstreamHTTPError] returns true.
ErrorSourceRoundTripper inspect the response error and wraps it in a [status.DownstreamError] if [status.IsDownstreamHTTPError] returns true.
GetTLSConfig creates a new tls.Config given provided options.
GetTransport creates a new http.RoundTripper given provided options.
MaxBytesReader is similar to io.LimitReader but is intended for limiting the size of incoming request bodies.
NamedMiddlewareFunc type is an adapter to allow the use of ordinary functions as Middleware.
New creates a new http.Client.
NewProvider creates a new HTTP client provider.
No description provided by the author
TracingMiddleware is a middleware that creates spans for each outgoing request, tracking the url, method and response code as span attributes.
WithContextualMiddleware returns a copy of parent in which the provided middlewares is associated.

# Constants

BasicAuthenticationMiddlewareName is the middleware name used by BasicAuthenticationMiddleware.
ContextualMiddlewareName is the middleware name used by ContextualMiddleware.
CustomHeadersMiddlewareName is the middleware name used by CustomHeadersMiddleware.
No description provided by the author
ErrorSourceMiddlewareName is the middleware name used by ErrorSourceMiddleware.
ResponseLimitMiddlewareName is the middleware name used by ResponseLimitMiddleware.
No description provided by the author

# Variables

DefaultTimeoutOptions default timeout/connection options.
ErrResponseBodyTooLarge indicates response body is too large.

# Structs

BasicAuthOptions basic authentication options.
Options defines options for creating HTTP clients.
Provider is the default HTTP client provider implementation.
ProviderOptions are the options that will be used as default if not specified in Options provided to Provider.New, Provider.GetTransport and Provider.GetTLSConfig.
SigV4Config AWS SigV4 options.
TimeoutOptions timeout/connection options.
TLSOptions TLS options.

# Interfaces

Middleware is an interface representing the ability to create a middleware that implements the http.RoundTripper interface.
MiddlewareName is an interface representing the ability for a middleware to have a name.

# Type aliases

No description provided by the author
ConfigureClientFunc function signature for configuring http.Client.
ConfigureMiddlewareFunc function signature for configuring middleware chain.
ConfigureTLSConfigFunc function signature for configuring tls.Config.
ConfigureTransportFunc function signature for configuring http.Transport.
The MiddlewareFunc type is an adapter to allow the use of ordinary functions as Middlewares.
The RoundTripperFunc type is an adapter to allow the use of ordinary functions as RoundTrippers.