Package-level declarations

Types

Link copied to clipboard
open class WebTransport(url: String, options: WebTransportOptions = definedExternally)

The WebTransport interface of the WebTransport API provides functionality to enable a user agent to connect to an HTTP/3 server, initiate reliable and unreliable transport in either or both directions, and close the connection once it is no longer needed. Available only in secure contexts.

Link copied to clipboard

The WebTransportBidirectionalStream interface of the WebTransport API represents a bidirectional stream created by a server or a client that can be used for reliable transport. Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The WebTransportDatagramDuplexStream interface of the WebTransport API represents a duplex stream that can be used for unreliable transport of datagrams between client and server. Available only in secure contexts.

Link copied to clipboard
open class WebTransportError(    message: String = definedExternally,     options: WebTransportErrorOptions = definedExternally) : DOMException, Serializable

The WebTransportError interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call). Available only in secure contexts.

Link copied to clipboard
Link copied to clipboard
sealed interface WebTransportErrorSource
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard