1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 22:36:12 -04:00
This commit is contained in:
Darien Raymond 2016-10-18 15:31:39 +02:00
parent b3bbd80674
commit 751a105324
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
3 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,7 @@ option java_outer_classname = "ConfigProto";
import "v2ray.com/core/transport/internet/config.proto";
// Global transport settings. This affects all type of connections that go through V2Ray.
message Config {
repeated v2ray.core.transport.internet.NetworkSettings network_settings = 1;
}

View File

@ -6,11 +6,17 @@ option java_package = "com.v2ray.core.transport.internet.tls";
option java_outer_classname = "ConfigProto";
message Certificate {
// TLS certificate in x509 format.
bytes Certificate = 1;
// TLS key in x509 format.
bytes Key = 2;
}
message Config {
// Whether or not to allow self-signed certificates.
bool allow_insecure = 1;
// List of certificates to be served on server.
repeated Certificate certificate = 2;
}

View File

@ -10,6 +10,9 @@ message ConnectionReuse {
}
message Config {
// Whether or not to reuse WebSocket connections.
ConnectionReuse connection_reuse = 1;
// URL path to the WebSocket service. Empty value means root(/).
string path = 2;
}