Expand description
QUIC transport
StructsΒ§
- Endpoint
Key π - Endpoint
Registry π - Quic
Dialer - QUIC Dialer implementation.
- Quic
Listener - QUIC Listener implementation
- Quic
Listener Intern - Internal QUIC Listener implementation, used with
PtListener - Quic
Stream - Wrapper around quinnβs bidirectional stream to implement PtStream
StaticsΒ§
- ENDPOINT_
REGISTRY π - Global registry of QUIC endpoints, keyed by (addr_family, port). This enables transparent endpoint sharing between Dialer and Listener.
FunctionsΒ§
- create_
client_ πconfig - Create QUIC client configuration with our TLS config
- create_
dual_ πendpoint - Create an endpoint configured for both client and server roles
- create_
server_ πconfig - Create QUIC server configuration with our TLS config
- get_
endpoint_ πfor_ target - Get an endpoint suitable for dialing the given target address. If no matching endpoint exist, creates a new one.
- register_
endpoint π - Register an endpoint for the given bind address. Returns the endpoint (may be existing if already registered).
- registry π