github.com/v2fly/v2ray-core/v4@v4.45.2/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/v4/transport/internet/websocket";
     6  option java_package = "com.v2ray.core.transport.internet.websocket";
     7  option java_multiple_files = true;
     8  
     9  message Header {
    10    string key = 1;
    11    string value = 2;
    12  }
    13  
    14  message Config {
    15    reserved 1;
    16  
    17    // URL path to the WebSocket service. Empty value means root(/).
    18    string path = 2;
    19  
    20    repeated Header header = 3;
    21  
    22    bool accept_proxy_protocol = 4;
    23  
    24    int32 max_early_data = 5;
    25  
    26    bool use_browser_forwarding = 6;
    27  
    28    string early_data_header_name = 7;
    29  }