chromium/third_party/blink/renderer/modules/webtransport/web_transport_datagram_duplex_stream.idl

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://w3c.github.io/webtransport/#duplex-stream
[
    Exposed=(Window,Worker),
    SecureContext,
    ImplementedAs=DatagramDuplexStream
] interface WebTransportDatagramDuplexStream {
  readonly attribute ReadableStream readable;
  readonly attribute WritableStream writable;

  readonly attribute unsigned long maxDatagramSize;
  attribute double? incomingMaxAge;
  attribute double? outgoingMaxAge;
  attribute long incomingHighWaterMark;
  attribute long outgoingHighWaterMark;
};