d11 theme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
585 B

import { Transport } from "../transport.js";
import { Packet } from "engine.io-parser";
/**
* WebTransport transport based on the built-in `WebTransport` object.
*
* Usage: browser, Node.js (with the `@fails-components/webtransport` package)
*
* @see https://developer.mozilla.org/en-US/docs/Web/API/WebTransport
* @see https://caniuse.com/webtransport
*/
export declare class WT extends Transport {
private _transport;
private _writer;
get name(): string;
protected doOpen(): this;
protected write(packets: Packet[]): void;
protected doClose(): void;
}