github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/proxy/http/config.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.proxy.http; 4 option csharp_namespace = "V2Ray.Core.Proxy.Http"; 5 option go_package = "github.com/v2fly/v2ray-core/v5/proxy/http"; 6 option java_package = "com.v2ray.core.proxy.http"; 7 option java_multiple_files = true; 8 9 import "common/protocol/server_spec.proto"; 10 11 message Account { 12 string username = 1; 13 string password = 2; 14 } 15 16 // Config for HTTP proxy server. 17 message ServerConfig { 18 uint32 timeout = 1 [deprecated = true]; 19 map<string, string> accounts = 2; 20 bool allow_transparent = 3; 21 uint32 user_level = 4; 22 } 23 24 // ClientConfig is the protobuf config for HTTP proxy client. 25 message ClientConfig { 26 // Sever is a list of HTTP server addresses. 27 repeated v2ray.core.common.protocol.ServerEndpoint server = 1; 28 bool h1_skip_wait_for_reply = 2; 29 }