Module http

Source

Modules§

status

Structs§

HttpClient
KeepaliveConfig
Configuration of HTTP server keepalive parameters.
MaxConnectionAgeLayer
A layer that limits the maximum duration of a client connection. It does so by adding a Connection: close header to the response if max_connection_duration time has elapsed since start_reference.
MaxConnectionAgeService
A service that limits the maximum age of a client connection. It does so by adding a Connection: close header to the response if max_connection_age time has elapsed since start_reference.

Enums§

Auth
Configuration of the authentication strategy for HTTP requests.
HttpError
ParamType
The type of a query parameter’s value, determines if it’s treated as a plain string or a VRL expression.
ParameterValue
Represents a query parameter value, which can be a simple string or a typed object indicating whether the value is a string or a VRL expression.
QueryParameterValue
Configuration of the query parameter value for HTTP requests.

Traits§

MaybeAuth

Functions§

build_http_trace_layer
Builds a [TraceLayer] configured for a HTTP server.
build_proxy_connector
build_tls_connector
get_http_scheme_from_uri

Type Aliases§

HttpClientFuture
QueryParameters