Skip to main content

Module transport

Module transport 

Source
Expand description

The transport: carries the request bytes to the server and brings the response back. The core (building and reading HTTP) is in http; here there is only TCP and TLS (rustls, TLS 1.2 or later).

Structs§

TcpTransport
Plain TCP or with rustls. One connection per call.
Timeouts

Enums§

TransportError
Why the call failed, and whether the server may have received the request.

Traits§

Transport

Functions§

build_tls_config
The TLS configuration: the system roots plus the given CA. It never turns certificate verification off (UC-CNT-030).