WebTransport

open external class WebTransport(url: String, options: WebTransportOptions = definedExternally)(source)

Available only in secure contexts.

MDN Reference

Constructors

Link copied to clipboard
constructor(url: URL, options: WebTransportOptions = definedExternally)
constructor(url: String, options: WebTransportOptions = definedExternally)

Functions

Link copied to clipboard
fun close(closeInfo: WebTransportCloseInfo = definedExternally)
Link copied to clipboard