1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-19 10:56:06 -05:00
v2fly/transport/internet/websocket/config.proto
2023-11-26 10:55:27 +00:00

38 lines
1.0 KiB
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).allow_restricted_mode_load = true;
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;
}