WebTransportDatagramDuplexStream.webidl (819B)
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 /* https://w3c.github.io/webtransport/#duplex-stream */ 7 8 [Exposed=(Window,Worker), SecureContext] 9 interface WebTransportDatagramDuplexStream { 10 readonly attribute ReadableStream readable; 11 readonly attribute WritableStream writable; 12 13 readonly attribute unsigned long maxDatagramSize; 14 [Throws] attribute unrestricted double incomingMaxAge; 15 [Throws] attribute unrestricted double outgoingMaxAge; 16 [Throws] attribute unrestricted double incomingHighWaterMark; 17 [Throws] attribute unrestricted double outgoingHighWaterMark; 18 };