Module proxy

Source
Expand description

§Proxy support.

Delta Chat supports HTTP(S) CONNECT, SOCKS5 and Shadowsocks protocols.

Structs§

HttpConfig
ShadowsocksConfig
Socks5Config

Enums§

ProxyConfig
Configuration for the proxy through which all traffic (except for iroh p2p connections) will be sent.

Constants§

DEFAULT_SOCKS_PORT
Default SOCKS5 port according to RFC 1928.

Functions§

http_connect_request 🔒
Constructs HTTP/1.1 CONNECT request for HTTP(S) proxy.
http_tunnel 🔒
Sends HTTP/1.1 CONNECT request over given connection to establish an HTTP tunnel.