github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/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/v2fly/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    option (v2ray.core.common.protoext.message_opt).allow_restricted_mode_load = true;
    20  
    21    option (v2ray.core.common.protoext.message_opt).transport_original_name = "websocket";
    22  
    23    reserved 1;
    24  
    25    // URL path to the WebSocket service. Empty value means root(/).
    26    string path = 2;
    27  
    28    repeated Header header = 3;
    29  
    30    bool accept_proxy_protocol = 4;
    31  
    32    int32 max_early_data = 5;
    33  
    34    bool use_browser_forwarding = 6;
    35  
    36    string early_data_header_name = 7;
    37  }