Crate webtransport_quinn

Source
Expand description

Renamed to web_transport_quinn.

Modules§

quinn
QUIC transport protocol implementation

Structs§

Client
A client for connecting to a WebTransport server.
ClientBuilder
Construct a WebTransport Client using sane defaults.
ClosedStream
An error indicating the stream was already closed.
NoCertificateVerification
RecvStream
A stream that can be used to recieve bytes. See quinn::RecvStream.
Request
A mostly complete WebTransport handshake, just awaiting the server’s decision on whether to accept or reject the session based on the URL.
SendStream
A stream that can be used to send bytes. See quinn::SendStream.
Server
A WebTransport server that accepts new sessions.
ServerBuilder
Construct a WebTransport Server using sane defaults.
Session
An established WebTransport session, acting like a full QUIC connection. See quinn::Connection.
SessionAccept

Enums§

ClientError
An error returned when connecting to a WebTransport endpoint.
CongestionControl
Allows specifying a class of congestion control algorithm.
ReadError
An error when reading from crate::RecvStream. Similar to quinn::ReadError.
ReadExactError
An error returned by crate::RecvStream::read_exact. Similar to quinn::ReadExactError.
ReadToEndError
An error returned by crate::RecvStream::read_to_end. Similar to quinn::ReadToEndError.
ServerError
An error returned when receiving a new WebTransport session.
SessionError
An errors returned by crate::Session, split based on if they are underlying QUIC errors or WebTransport errors.
WebTransportError
An error that can occur when reading/writing the WebTransport stream header.
WriteError
An error when writing to crate::SendStream. Similar to quinn::WriteError.

Constants§

ALPN
The HTTP/3 ALPN is required when negotiating a QUIC connection.