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
|
|
|
|
2021-09-05 05:19:04 -04:00
|
|
|
import "common/protoext/extensions.proto";
|
|
|
|
|
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 {
|
2021-09-05 05:19:04 -04:00
|
|
|
option (v2ray.core.common.protoext.message_opt).type = "transport";
|
|
|
|
option (v2ray.core.common.protoext.message_opt).short_name = "ws";
|
|
|
|
|
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;
|
2021-04-30 19:48:04 -04:00
|
|
|
|
|
|
|
string early_data_header_name = 7;
|
2020-08-24 08:10:26 -04:00
|
|
|
}
|