mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-30 17:38:41 +00:00
Add custom header support for HTTP proxy
This commit is contained in:
parent
d7ac6946d2
commit
c9b6fc0104
4 changed files with 172 additions and 28 deletions
|
@ -21,8 +21,14 @@ message ServerConfig {
|
|||
uint32 user_level = 4;
|
||||
}
|
||||
|
||||
message Header {
|
||||
string key = 1;
|
||||
string value = 2;
|
||||
}
|
||||
|
||||
// ClientConfig is the protobuf config for HTTP proxy client.
|
||||
message ClientConfig {
|
||||
// Sever is a list of HTTP server addresses.
|
||||
repeated xray.common.protocol.ServerEndpoint server = 1;
|
||||
repeated Header header = 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue