1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
v2fly/transport/internet/websocket/config.proto

28 lines
635 B
Protocol Buffer
Raw Normal View History

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 {
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;
bool accept_proxy_protocol = 4;
2021-03-19 18:36:11 -04:00
int32 max_early_data = 5;
bool use_browser_forwarding = 6;
}