Skip to main content

Module connection

Module connection 

Source

Structs§

Connection
ConnectionWriter
Owns the EncryptedSession (for packing) and the pending-RPC map.
FutureSalt
Write half of a split connection. Held under Mutex in ClientInner. A single server-provided salt with its validity window.

Enums§

FrameKind
How framing bytes are sent/received on a connection.

Constants§

NO_PING_DISCONNECT
PING_DELAY_SECS
SALT_USE_DELAY
Delay (seconds) before a salt is considered usable after its valid_since.