Expand description
CONNECT protocol over http 1.1 via raw Unix domain socket
This mod implements the most rudimentary CONNECT client over raw stream. The idea is to yield raw stream once the CONNECT handshake is complete so that the protocol encapsulated can use the stream directly. This idea only works for CONNECT over HTTP 1.1 and localhost (or where the server is close by).
Structs§
- Connect
Proxy Error - The error returned when the CONNECT proxy fails to establish.
- Proxy
Digest - The information about the CONNECT proxy.
Functions§
- connect
- Try to establish a CONNECT proxy via the given
stream
. - generate_
connect_ header - Generate the CONNECT header for the given destination