Skip to main content

Module client

Module client 

Available on crate features quic and std only.
Expand description

Client QUIC connections as connector services.

A QuicConnector establishes authenticated QUIC connections from the endpoints of an endpoint connector below it, as a TLS connector does over a stream connector:

  • SharedQuicEndpoint: every connection multiplexes over one shared endpoint;
  • QuicEndpointConnector: one endpoint per connection, on each datagram socket its own inner connector establishes, such as a connected UDP socket or a UDP tunnel through a proxy.

Structs§

ClientEndpoint
A QUIC endpoint to open one client connection from, as an endpoint connector hands it out to a QuicConnector.
QuicConnector
Establishes authenticated QUIC connections from the endpoints its endpoint connector E hands out (ClientEndpoint).
QuicEndpointConnector
Builds one QUIC endpoint on each datagram socket its inner connector establishes, such as a connected UDP socket or a UDP tunnel through a proxy: one socket and endpoint per connection.
SharedQuicEndpoint
Hands out one shared QUIC endpoint for every client connection, as a connection pool hands out connections: all connections multiplex over one UDP socket.