mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-04 17:27:23 -05:00
30 lines
673 B
Protocol Buffer
30 lines
673 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package v2ray.core.transport.internet.websocket;
|
|
option csharp_namespace = "V2Ray.Core.Transport.Internet.Websocket";
|
|
option go_package = "github.com/v2fly/v2ray-core/v4/transport/internet/websocket";
|
|
option java_package = "com.v2ray.core.transport.internet.websocket";
|
|
option java_multiple_files = true;
|
|
|
|
message Header {
|
|
string key = 1;
|
|
string value = 2;
|
|
}
|
|
|
|
message Config {
|
|
reserved 1;
|
|
|
|
// URL path to the WebSocket service. Empty value means root(/).
|
|
string path = 2;
|
|
|
|
repeated Header header = 3;
|
|
|
|
bool accept_proxy_protocol = 4;
|
|
|
|
int32 max_early_data = 5;
|
|
|
|
bool use_browser_forwarding = 6;
|
|
|
|
string early_data_header_name = 7;
|
|
}
|