Skip to main content

cloud_sdk_reqwest/blocking/
mod.rs

1//! Hardened provider-neutral blocking transport implementation.
2
3mod basic_client;
4mod basic_config;
5#[cfg(test)]
6mod body;
7mod client;
8mod config;
9mod raw;
10
11pub use crate::shared::{
12    AuthenticatedTransportFailure, BasicCredential, BasicCredentialError, BasicCredentialScope,
13    BasicCredentialScopeError, BasicPassword, BasicPasswordError, BasicUsername,
14    BasicUsernameError, BearerCredential, BearerCredentialScope, BearerCredentialScopeError,
15    BearerCredentialSnapshot, BearerRefreshHandoff, BearerToken, BearerTokenError, BuildError,
16    CredentialStateError, CredentialUpdateError, CustomEndpointAcknowledgement, EndpointError,
17    HttpsEndpoint, LinkLocalHttpEndpoint, MAX_BASIC_AUTHORIZATION_BYTES, MAX_BASIC_PASSWORD_BYTES,
18    MAX_BASIC_USERNAME_BYTES, MAX_BEARER_TOKEN_BYTES, MAX_CONFIGURED_ENDPOINT_BYTES,
19    MAX_RAW_REQUEST_BODY_BYTES, MAX_TIMEOUT_SECONDS, MAX_UPSTREAM_HTTP1_HEAD_BYTES,
20    MAX_UPSTREAM_HTTP1_HEADERS, RawHttpError, RawTransportFailure, RefreshHandoffError,
21    RequestTimeouts, TimeoutError, TokenRefreshError, TokenRotationError, TransportError,
22    UserAgent, UserAgentError,
23};
24pub use basic_client::BlockingBasicClient;
25pub use basic_config::BlockingBasicClientBuilder;
26pub use client::BlockingClient;
27pub use config::{
28    BlockingClientBuilder, RawBlockingClientBuilder, RawLinkLocalBlockingClientBuilder,
29};
30pub use raw::RawBlockingClient;
31
32#[cfg(test)]
33mod tests;
34#[cfg(all(test, feature = "blocking-rustls-webpki-roots"))]
35mod webpki_roots_tests;