Expand description
HTTP plumbing: header injection, the Proton response envelope, bearer-token authentication and transparent 401 refresh.
Mirrors HttpApiCallBuilder, AuthorizationHandler and TokenCredential
from the C# SDK, collapsed into a single reqwest-based client since Rust has
no DelegatingHandler pipeline.
Structs§
- ApiHttp
Client - A reqwest-backed client bound to a single authenticated session.
- Tokens
- The mutable authentication tokens for a session, shared between every request and the refresh path.
Functions§
- post_
unauthenticated POST {path}without a session: nox-pm-uidand no bearer token.