Module grammers_mtproto::transport
source · Expand description
Implementation of the several MTProto transports. This layer is responsible for taking serialized messages from the MTP and packing them in a format that can be sent over a protocol, such as TCP, HTTP or UDP.
Structs§
- The lightest MTProto transport protocol available. This is an implementation of the abridged transport.
- The basic MTProto transport protocol. This is an implementation of the full transport.
- A light MTProto transport protocol available that guarantees data padded to 4 bytes. This is an implementation of the intermediate transport.
Enums§
- The error type reported by the different transports when something is wrong.
Traits§
- The trait used by the transports to create instances of themselves.