// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. module blink.mojom; import "services/network/public/mojom/web_transport.mojom"; import "url/mojom/url.mojom"; // An interface for creating a WebTransport connection from the renderer, // implemented in the browser process. interface WebTransportConnector { // Starts an opening handshake. // It is recommended to detect mojo connection errors on |client|. Connect( url.mojom.Url url, array fingerprints, array application_protocols, network.mojom.WebTransportCongestionControl congestion_control, uint16? anticipated_concurrent_incoming_unidirectional_streams, uint16? anticipated_concurrent_incoming_bidirectional_streams, network.mojom.WebTransportHttpRequestHeaders additional_headers, pending_remote client); };