@fails-components/webtransport
Version:
A component to add webtransport support (server and client) to node.js using libquiche
30 lines (27 loc) • 1.46 kB
JavaScript
// Copyright (c) 2022 Marten Richter or other contributers (see commit). All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* // Spec
* @typedef {import('./dom').WebTransportDatagramStats} WebTransportDatagramStats
* @typedef {import('./dom').WebTransportStats} WebTransportStats
* @typedef {import('./dom').WebTransportCloseInfo} WebTransportCloseInfo
* @typedef {import('./dom').WebTransportDatagramDuplexStream} WebTransportDatagramDuplexStream
* @typedef {import('./dom').WebTransportBidirectionalStream} WebTransportBidirectionalStream
* @typedef {import('./dom').WebTransportSendStreamStats} WebTransportSendStreamStats
* @typedef {import('./dom').WebTransportSendStream} WebTransportSendStream
* @typedef {import('./dom').WebTransportReceiveStreamStats} WebTransportReceiveStreamStats
* @typedef {import('./dom').WebTransportReceiveStream} WebTransportReceiveStream
* @typedef {import('./dom').WebTransportHash} WebTransportHash
* @typedef {import('./dom').WebTransportOptions} WebTransportOptions
* @typedef {import('./dom').WebTransportReliabilityMode} WebTransportReliabilityMode
*
* Public API
* @typedef {import('./types').WebTransportSessionImpl} WebTransportSession
* @typedef {import('./types').HttpServerInit} HttpServerInit
*/
// also edit index.types.js
export {
WebTransportPonyfill,
WebTransportPolyfill
} from './webtransport.browser.js'