mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-07 11:17:16 +00:00
23 lines
840 B
Text
23 lines
840 B
Text
// Copyright 2018 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
module network.mojom;
|
|
|
|
import "net/interfaces/ip_endpoint.mojom";
|
|
import "services/network/public/mojom/ssl_config.mojom";
|
|
|
|
// Represents a connected TLS client socket. Writes and Reads are through the
|
|
// data pipes supplied upon construction. Consumer should use SocketObserver
|
|
// interface to get notified about any error occurred during reading or writing
|
|
// to data pipes. Consumer can close the socket by destroying the interface
|
|
// pointer.
|
|
interface TLSClientSocket {
|
|
};
|
|
|
|
// Represents the options that consumers can specify when requesting a
|
|
// TLSClientSocket.
|
|
struct TLSClientSocketOptions {
|
|
SSLVersion version_min = kTLS1;
|
|
SSLVersion version_max = kTLS12;
|
|
};
|