Modules§
- client
- compat_
pproxy - The deliberately small wire adapter for pproxy 2.7.9 backward links.
- metrics
- server
Enums§
- Control
State - State of a reverse control channel.
- Protocol
Error - Errors specific to the reverse protocol.
Constants§
- HANDSHAKE_
ACCEPT - Handshake response: accept.
- HANDSHAKE_
REJECT - Handshake response: reject.
Functions§
- client_
auth_ handshake - Perform the client-side auth handshake: send credentials, read response.
- read_
handshake - Read and validate the 1-byte handshake response.
- redact_
auth - Build a redacted form of an auth string suitable for logging.
- relay_
bidirectional - Relay data bidirectionally between two TCP streams.
- relay_
bidirectional_ with_ timeout - Relay data bidirectionally, ending the session when both sides reach end-of-stream. Neither direction is cancelled when the other observes EOF — half-close is preserved so the still-open direction can drain any application bytes the peer already produced.
- server_
auth_ handshake - Perform the server-side auth handshake: read credentials, validate, respond.
- write_
auth - Write auth credentials as raw bytes to a stream.
- write_
handshake_ accept - Write the 1-byte handshake response (accept).
- write_
handshake_ reject - Write the 1-byte handshake response (reject).