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§
- The error returned when the CONNECT proxy fails to establish.
- The information about the CONNECT proxy.
Functions§
- Try to establish a CONNECT proxy via the given
stream
. - Generate the CONNECT header for the given destination