Skip to main content

Module asynchronous

Module asynchronous 

Source
Expand description

Hardened provider-neutral asynchronous transport implementation.

Structs§

AsyncBasicClient
Hardened provider-neutral reqwest asynchronous Basic-auth transport.
AsyncBasicClientBuilder
Builder requiring a scoped Basic credential and complete transport limits.
AsyncClient
Hardened provider-neutral reqwest asynchronous bearer transport.
AsyncClientBuilder
Builder requiring endpoint, bearer token, user agent, and all timeout dimensions before an asynchronous client can be constructed.
BasicCredential
Type-separated Basic credential and immutable authentication scope.
BasicCredentialScope
Immutable owned scope attached to one credential lifecycle.
BasicPassword
Owned Basic password with redacted diagnostics and drop-time cleanup.
BasicUsername
Owned Basic username with redacted diagnostics and drop-time cleanup.
BearerCredential
Initial bearer token and its immutable authentication scope.
BearerCredentialScope
Immutable owned scope attached to one credential lifecycle.
BearerCredentialSnapshot
Redacted snapshot metadata for an in-flight credential generation.
BearerRefreshHandoff
Store-bound handoff captured before external bearer refresh work.
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§

BasicCredentialError
Basic credential construction failure.
BasicPasswordError
Basic password validation failure.
BasicUsernameError
Basic username validation failure.
BearerTokenError
Bearer-token validation error.
BuildError
Client construction failure.
CredentialStateError
Credential-state access failure.
CredentialUpdateError
Validated token rotation failure.
EndpointError
HTTPS endpoint validation or target-composition error.
RawHttpError
Payload-free raw HTTP execution failure.
TimeoutError
Timeout policy validation error.
TokenRefreshError
Compare-and-swap bearer refresh failure.
TokenRotationError
Bearer-token validation or rotation failure.
TransportError
Payload-free transport failure.
UserAgentError
User-agent validation error.

Constants§

MAX_BASIC_AUTHORIZATION_BYTES
Maximum complete Authorization: Basic ... value bytes.
MAX_BASIC_PASSWORD_BYTES
Maximum Basic password bytes accepted by the adapter.
MAX_BASIC_USERNAME_BYTES
Maximum Basic username bytes accepted by the adapter.
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§

BasicCredentialScopeError
Basic-scope construction failure.
BearerCredentialScopeError
Compatibility name for bearer-scope construction failures.
RawTransportFailure
Delivery-phased raw reqwest failure.