Skip to main content

Module server

Module server 

Source
Expand description

Proxy server: TCP listener, connection dispatch, and lifecycle.

The server binds to 127.0.0.1:0 (OS-assigned port), accepts TCP connections, reads the first HTTP line to determine the mode, and dispatches to the appropriate handler.

CONNECT method -> connect or external handler Other methods -> reverse handler (credential injection)

Structs§

ProxyHandle
Handle returned when the proxy server starts.

Functions§

start
Start the proxy server.