UNPKG

@fails-components/webtransport

Version:

A component to add webtransport support (server and client) to node.js using libquiche

35 lines 1.12 kB
export class Http2WebTransportBrowser { /** * @param {import('../../types.js').NativeClientOptions} args */ constructor(args: import('../../types.js').NativeClientOptions); port: number; hostname: string; protocols: string[]; initialStreamFlowControlWindow: number; initialSessionFlowControlWindow: number; initialBidirectionalStreams: number; initialUnidirectionalStreams: number; streamShouldAutoTuneReceiveWindow: true; streamFlowControlWindowSizeLimit: number; sessionShouldAutoTuneReceiveWindow: true; sessionFlowControlWindowSizeLimit: number; /** @type {import('../../session.js').HttpClient} */ jsobj: import('../../session.js').HttpClient; /** @type {WebSocket} */ clientInt: WebSocket; /** @type {undefined|string} */ _webtransportProtocol: undefined | string; /** * @param {{path: string}} arg */ createTransport({ path }: { path: string; }): void; /** * @param {string} path */ openWTSession(path: string): void; closeClient(): void; } //# sourceMappingURL=browser.d.ts.map