Skip to main content

Module connection

Module connection 

Source

Structs§

Connection
FutureSalt
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.

Functions§

connect_to_dc
Free-function wrapper around Connection::connect_to_dc.