Skip to main content

Module connection

Module connection 

Source
Expand description

Connection lifecycle utilities for datum-net transports.

The lifecycle layer keeps connection establishment lazy: TCP connect, TLS handshake, timeout handling, and retry attempts start only when the returned Datum flow is materialized and pulled. Completing the upstream side of a connection byte flow gracefully shuts down the write direction while leaving the read direction open for the peer’s response.

Structs§

Connection
Namespace for transport-agnostic lifecycle constructors.
ConnectionSettings
Connection establishment settings shared by lifecycle-aware transports.
RetryPolicy
Retry settings for connection establishment.

Traits§

ConnectionLifecycleExt
Extension methods for connection byte flows.