Module quic

Module quic 

Source
Expand description

QUIC transport

StructsΒ§

EndpointKey πŸ”’
EndpointRegistry πŸ”’
QuicDialer
QUIC Dialer implementation.
QuicListener
QUIC Listener implementation
QuicListenerIntern
Internal QUIC Listener implementation, used with PtListener
QuicStream
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 πŸ”’