Skip to main content

Module session

Module session 

Source
Expand description

Client-First Transport Session

PhantomSession provides instant connection establishment with automatic send queuing during handshake. This is the transport-level API that sits below MLS and above the raw UDP/TCP transport.

Re-exports§

pub use crate::transport::session_transport::FramePhase;
pub use crate::transport::session_transport::SessionTransport;

Structs§

PhantomSession
Client-first session — instant connect(), non-blocking send().
ResumptionHint
0-RTT resumption material extracted from a completed session.

Enums§

ConnectionState
Connection state for PhantomSession.
SessionCommand
Commands for the background session task

Functions§

connect_pinned
connect_pinned_with_resumption
Connect to a pinned server with a 0-RTT resumption attempt — the resumption-aware analogue of connect_pinned.