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";
|
||||
|
||||
// Global transport settings. This affects all type of connections that go through V2Ray.
|
||||
message Config {
|
||||
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";
|
||||
|
||||
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;
|
||||
}
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue