2016-10-02 23:43:58 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
|
|
package v2ray.core.transport.internet.ws;
|
2016-12-23 00:24:28 +01:00
|
|
|
option csharp_namespace = "V2Ray.Core.Transport.Internet.Ws";
|
2016-10-02 23:43:58 +02:00
|
|
|
option go_package = "ws";
|
|
|
|
|
option java_package = "com.v2ray.core.transport.internet.ws";
|
|
|
|
|
option java_outer_classname = "ConfigProto";
|
|
|
|
|
|
2016-10-17 14:35:13 +02:00
|
|
|
message ConnectionReuse {
|
|
|
|
|
bool enable = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-02 23:43:58 +02:00
|
|
|
message Config {
|
2016-10-18 15:31:39 +02:00
|
|
|
// Whether or not to reuse WebSocket connections.
|
2016-10-17 14:35:13 +02:00
|
|
|
ConnectionReuse connection_reuse = 1;
|
2016-10-18 15:31:39 +02:00
|
|
|
|
|
|
|
|
// URL path to the WebSocket service. Empty value means root(/).
|
2016-10-02 23:43:58 +02:00
|
|
|
string path = 2;
|
|
|
|
|
}
|