1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-04 09:17:32 -05:00
v2fly/transport/internet/websocket/config.proto
2021-09-05 10:19:04 +01:00

35 lines
857 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;
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";
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;
}