1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 09:26:21 -05:00
v2fly/transport/internet/websocket/config.proto
2022-01-02 15:16:23 +00:00

37 lines
947 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/v5/transport/internet/websocket";
option java_package = "com.v2ray.core.transport.internet.websocket";
option java_multiple_files = true;
import "common/protoext/extensions.proto";
message Header {
string key = 1;
string value = 2;
}
message Config {
option (v2ray.core.common.protoext.message_opt).type = "transport";
option (v2ray.core.common.protoext.message_opt).short_name = "ws";
option (v2ray.core.common.protoext.message_opt).transport_original_name = "websocket";
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;
}