mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-03 02:36:09 +03:00
26 lines
954 B
Plaintext
26 lines
954 B
Plaintext
// 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;
|
|
// If |true|, the SSLInfo will be returned in the UpgradeToTLS callback.
|
|
bool skip_cert_verification = false;
|
|
};
|