2016-08-25 15:55:49 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2016-09-26 09:14:16 -04:00
|
|
|
package v2ray.core.proxy.http;
|
2016-12-22 18:24:28 -05:00
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Http";
|
2016-08-25 15:55:49 -04:00
|
|
|
option go_package = "http";
|
2016-09-26 09:14:16 -04:00
|
|
|
option java_package = "com.v2ray.core.proxy.http";
|
2017-02-03 17:15:10 -05:00
|
|
|
option java_multiple_files = true;
|
2016-08-25 15:55:49 -04:00
|
|
|
|
|
|
|
// Config for HTTP proxy server.
|
|
|
|
message ServerConfig {
|
2017-11-27 16:09:30 -05:00
|
|
|
uint32 timeout = 1 [deprecated = true];
|
2017-10-26 15:44:13 -04:00
|
|
|
map<string, string> accounts = 2;
|
2017-11-05 16:13:15 -05:00
|
|
|
bool allow_transparent = 3;
|
2017-11-27 16:09:30 -05:00
|
|
|
uint32 user_level = 4;
|
2016-08-25 15:55:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// ClientConfig for HTTP proxy client.
|
|
|
|
message ClientConfig {
|
|
|
|
|
2017-10-26 15:44:13 -04:00
|
|
|
}
|