2016-10-02 17:43:58 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2016-12-22 18:30:46 -05:00
|
|
|
package v2ray.core.transport.internet.websocket;
|
|
|
|
option csharp_namespace = "V2Ray.Core.Transport.Internet.Websocket";
|
2021-02-16 15:31:50 -05:00
|
|
|
option go_package = "github.com/v2fly/v2ray-core/v4/transport/internet/websocket";
|
2016-12-22 18:30:46 -05:00
|
|
|
option java_package = "com.v2ray.core.transport.internet.websocket";
|
2017-02-03 17:15:10 -05:00
|
|
|
option java_multiple_files = true;
|
2016-10-02 17:43:58 -04:00
|
|
|
|
2017-10-13 11:54:04 -04:00
|
|
|
message Header {
|
|
|
|
string key = 1;
|
|
|
|
string value = 2;
|
2016-10-17 08:35:13 -04:00
|
|
|
}
|
|
|
|
|
2016-10-02 17:43:58 -04:00
|
|
|
message Config {
|
2017-04-07 15:54:40 -04:00
|
|
|
reserved 1;
|
2016-10-18 09:31:39 -04:00
|
|
|
|
|
|
|
// URL path to the WebSocket service. Empty value means root(/).
|
2016-10-02 17:43:58 -04:00
|
|
|
string path = 2;
|
2017-10-13 11:54:04 -04:00
|
|
|
|
|
|
|
repeated Header header = 3;
|
2020-08-26 00:29:12 -04:00
|
|
|
|
|
|
|
bool accept_proxy_protocol = 4;
|
2021-03-19 18:36:11 -04:00
|
|
|
|
|
|
|
int32 max_early_data = 5;
|
|
|
|
|
|
|
|
bool use_browser_forwarding = 6;
|
2020-08-24 08:10:26 -04:00
|
|
|
}
|