Skip to main content

Module net

Module net 

Source
Expand description

TCP establishment, socket configuration, and negotiated network streams.

Structs§

AlreadyTls
A plain transport was requested after TLS had already been negotiated.
ConnectRetry
Retry policy for establishing an outbound TCP connection.
TcpConfigurationError
One socket option which could not be applied.
TcpSettings
Best-effort TCP socket configuration.

Enums§

NetworkStream
A PostgreSQL network transport after optional TLS negotiation.

Functions§

configure_tcp
Applies every configured TCP option and reports individual failures.
connect_with_retry
Connects to address, retrying failures with capped exponential backoff.