Skip to main content

Module session

Module session 

Source
Expand description

QSession handshake, streams, datagrams and policy admission.

Re-exports§

pub use congestion::can_send;
pub use congestion::on_acked;
pub use congestion::on_ecn;
pub use congestion::on_lost;
pub use congestion::Congestion;
pub use congestion::EcnState;
pub use congestion::PmtuState;
pub use handshake::handshake_over_fragments;
pub use handshake::FragmentedHandshake;
pub use handshake::SessionBinding;
pub use handshake::SessionState;
pub use handshake::CLIENT_HELLO_WIRE_LEN;
pub use handshake::SERVER_HELLO_WIRE_LEN;
pub use pacing::wait_until;
pub use pacing::Pacer;
pub use packet_protection::PacketProtection;
pub use paths::mutate_path;
pub use paths::PathHandle;
pub use protected_ack::ProtectedAckSession;
pub use protected_ack::ProtectedRecv;
pub use rtt::on_ack_sample;
pub use rtt::RttEstimator;
pub use streams::stream_progress_isolated;
pub use streams::StreamState;

Modules§

bind
Complete QSession bind (NET-05.01 partial).
clinical
Known-peer clinical session controls (NET-05.21–24).
congestion
Byte-based congestion control, ECN validation, and shared-bottleneck caps.
contact
Protected contact states and reserved help (NET-05.17 / NET-05.20).
credit
Stream receive credit backed by RT-01 ledger + lease reservations.
datagrams
Expiring datagrams. Transport ACK is not durable application receipt.
fetch
Unconsented attachment/embed/LIG fetches must not disclose locators (NET-05.19).
freshness
Recheck policy freshness at queued, offline, and migration (NET-05.18).
handshake
QSession handshake binding. No 0-RTT application data.
iri
Service-channel IRI binding and delivery-stage receipts (NET-05.06 partial).
loss
ACK ranges, PTO backoff, and sent-packet history (NET-05.08 partial).
pacing
Tokenless send pacing. Eligibility is a deadline, not a credit ledger.
packet
Caller-buffered packet numbers, 64-bit replay window, nonce construction, and QUIC-style bounded varints (NET-05.04 partial). Packages remain open.
packet_protection
Packet protection: directional keys, AEAD, packet numbers and replay (E02.3).
paths
Bounded dial races for QSession (NET-05.10 / RT-03.03 partial).
policy
QPolicy admission for session channels.
protected_ack
ACK/loss/credit integration with protected packet numbers (E09.1).
recovery
Reconnect recovery for application operations (NET-05.16 partial).
rekey
Bounded traffic-key update (E02.4).
rtt
RFC 9002-style RTT estimator for QSession (not QUIC wire-compatible).
streams
Bounded reliable streams. Independent stream ids; capped out-of-order.