Skip to main content

Module asynchronous

Module asynchronous 

Source
Expand description

Hardened provider-neutral asynchronous transport implementation.

Structs§

AsyncClient
Hardened provider-neutral reqwest asynchronous transport.
AsyncClientBuilder
Builder requiring endpoint, bearer token, user agent, and all timeout dimensions before an asynchronous client can be constructed.
BearerToken
Owned bearer authorization value with redacted diagnostics and volatile cleanup of the adapter-owned bytes.
CustomEndpointAcknowledgement
Explicit acknowledgement that a custom endpoint is a credential destination.
HttpsEndpoint
Validated HTTPS API endpoint, optionally including a fixed base path.
RawAsyncClient
Raw async HTTP executor with no implicit authentication or provider policy.
RawAsyncClientBuilder
Builder for a raw async client with no credentials or provider policy.
RequestTimeouts
Explicit total-request and connection timeout policy.
UserAgent
Validated, non-secret user-agent header value.

Enums§

BearerTokenError
Bearer-token validation error.
BuildError
Client construction failure.
CredentialStateError
Credential-state access failure.
EndpointError
HTTPS endpoint validation or target-composition error.
RawHttpError
Payload-free raw HTTP execution failure.
TimeoutError
Timeout policy validation error.
TokenRotationError
Bearer-token validation or rotation failure.
TransportError
Payload-free transport failure.
UserAgentError
User-agent validation error.

Constants§

MAX_BEARER_TOKEN_BYTES
Maximum bearer-token length accepted by the adapter.
MAX_CONFIGURED_ENDPOINT_BYTES
Maximum endpoint input accepted before URL parsing or allocation.
MAX_RAW_REQUEST_BODY_BYTES
Maximum request body copied into raw adapter-owned staging.
MAX_TIMEOUT_SECONDS
Maximum configured timeout accepted by the adapter.
MAX_UPSTREAM_HTTP1_HEADERS
Maximum response-header fields parsed by pinned Hyper HTTP/1.
MAX_UPSTREAM_HTTP1_HEAD_BYTES
Maximum pinned Hyper HTTP/1 read buffer before a head-too-large failure.

Type Aliases§

RawTransportFailure
Delivery-phased raw reqwest failure.