Skip to main content

Module tls

Module tls 

Source
Expand description

Process-wide TLS bootstrap plus the platform HTTP client constructors that depend on it. Every reqwest client Codewhale builds goes through here so the rustls crypto provider is installed exactly once, before the first client, on every path (TUI, CLI, tests).

Functionsยง

ensure_rustls_crypto_provider
Install the rustls ring crypto provider if no provider is installed yet. Idempotent; a second call is a no-op.
reqwest_blocking_client_builder
The blocking platform HTTP client builder, with the crypto provider installed.
reqwest_client
A ready platform HTTP client (provider installed, platform verifier).
reqwest_client_builder
The platform HTTP client builder, with the crypto provider installed.