ProxyScheme¶
- class pyrogram.enums.ProxyScheme[source]¶
Proxy scheme enumeration used in
Client’sproxyparameter.- SOCKS4 = 'socks4'¶
SOCKS4 proxy
- SOCKS5 = 'socks5'¶
SOCKS5 proxy
- HTTP = 'http'¶
HTTP CONNECT proxy
- MTPROXY = 'mtproxy'¶
obfuscated2 straight to the proxy host, no relay
- Type:
Classic MTProxy
- WEB = 'web'¶
a long-poll HTTPS carrier to a hosted relay
- Type:
WEB proxy