mirror of https://github.com/v2ray/v2ray-core
comments
parent
b3bbd80674
commit
751a105324
|
@ -7,6 +7,7 @@ option java_outer_classname = "ConfigProto";
|
||||||
|
|
||||||
import "v2ray.com/core/transport/internet/config.proto";
|
import "v2ray.com/core/transport/internet/config.proto";
|
||||||
|
|
||||||
|
// Global transport settings. This affects all type of connections that go through V2Ray.
|
||||||
message Config {
|
message Config {
|
||||||
repeated v2ray.core.transport.internet.NetworkSettings network_settings = 1;
|
repeated v2ray.core.transport.internet.NetworkSettings network_settings = 1;
|
||||||
}
|
}
|
|
@ -6,11 +6,17 @@ option java_package = "com.v2ray.core.transport.internet.tls";
|
||||||
option java_outer_classname = "ConfigProto";
|
option java_outer_classname = "ConfigProto";
|
||||||
|
|
||||||
message Certificate {
|
message Certificate {
|
||||||
|
// TLS certificate in x509 format.
|
||||||
bytes Certificate = 1;
|
bytes Certificate = 1;
|
||||||
|
|
||||||
|
// TLS key in x509 format.
|
||||||
bytes Key = 2;
|
bytes Key = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Config {
|
message Config {
|
||||||
|
// Whether or not to allow self-signed certificates.
|
||||||
bool allow_insecure = 1;
|
bool allow_insecure = 1;
|
||||||
|
|
||||||
|
// List of certificates to be served on server.
|
||||||
repeated Certificate certificate = 2;
|
repeated Certificate certificate = 2;
|
||||||
}
|
}
|
|
@ -10,6 +10,9 @@ message ConnectionReuse {
|
||||||
}
|
}
|
||||||
|
|
||||||
message Config {
|
message Config {
|
||||||
|
// Whether or not to reuse WebSocket connections.
|
||||||
ConnectionReuse connection_reuse = 1;
|
ConnectionReuse connection_reuse = 1;
|
||||||
|
|
||||||
|
// URL path to the WebSocket service. Empty value means root(/).
|
||||||
string path = 2;
|
string path = 2;
|
||||||
}
|
}
|
Loading…
Reference in New Issue