WebTransportError Enum

The kind of error a WebTransportException reports.

public enum WebTransportError

Fields

NameValueDescription
ConnectionFailed0The QUIC connection could not be established or was lost: see the inner exception.
NotSupported1The server does not support WebTransport over HTTP/3: its SETTINGS do not enable extended CONNECT, HTTP datagrams and WebTransport.
SessionRejected2The server rejected the session, with the HTTP status code in WebTransportException.StatusCode.
SessionClosed3The session is closed: the operation cannot run anymore.
SessionReset4The session ended abruptly: the CONNECT stream was reset or the connection closed without a CLOSE_WEBTRANSPORT_SESSION capsule.
StreamAborted5The peer aborted the stream, with the error code in WebTransportException.StreamErrorCode.
OperationAborted6The stream or the session was aborted locally.
ProtocolError7The peer violated HTTP/3 or WebTransport.
DatagramNotSent8The datagram is larger than WebTransportSession.MaxDatagramSize, or datagrams are not available.