github.com/imannamdari/v2ray-core/v5@v5.0.5/transport/internet/websocket/config.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.transport.internet.websocket; 4 option csharp_namespace = "V2Ray.Core.Transport.Internet.Websocket"; 5 option go_package = "github.com/imannamdari/v2ray-core/v5/transport/internet/websocket"; 6 option java_package = "com.v2ray.core.transport.internet.websocket"; 7 option java_multiple_files = true; 8 9 import "common/protoext/extensions.proto"; 10 11 message Header { 12 string key = 1; 13 string value = 2; 14 } 15 16 message Config { 17 option (v2ray.core.common.protoext.message_opt).type = "transport"; 18 option (v2ray.core.common.protoext.message_opt).short_name = "ws"; 19 20 option (v2ray.core.common.protoext.message_opt).transport_original_name = "websocket"; 21 22 reserved 1; 23 24 // URL path to the WebSocket service. Empty value means root(/). 25 string path = 2; 26 27 repeated Header header = 3; 28 29 bool accept_proxy_protocol = 4; 30 31 int32 max_early_data = 5; 32 33 bool use_browser_forwarding = 6; 34 35 string early_data_header_name = 7; 36 }