Expand description
MTProxy secret parsing, transport auto-selection, and TCP connect.
| Secret prefix | Transport |
|---|---|
| 16 raw bytes | Obfuscated Abridged |
0xDD + 16 bytes | PaddedIntermediate |
0xEE + 16 bytes + domain | FakeTLS |
Structs§
- MtProxy
Config - Decoded MTProxy configuration extracted from a proxy link.
Functions§
- parse_
proxy_ link - Parse a
tg://proxy?server=…&port=…&secret=…orhttps://t.me/proxy?…link. - secret_
to_ transport - Map secret prefix to the correct
TransportKind.