Interface WebTransportConnection

WebTransport connection interface

interface WebTransportConnection {
    created: number;
    id: string;
    state: WebTransportState;
    transport: WebTransport;
    type: "webtransport";
    url: string;
    close(): Promise<void>;
}

Properties

Methods

Properties

created: number

Timestamp when connection was created

id: string

Unique identifier for this connection

Human-readable connection state

transport: WebTransport

The WebTransport instance

type: "webtransport"

Connection type

url: string

URL of the connection

Methods