HTTP transport
HttpConfig(HTTP/2 伪装)
Proto:protos/proto/vx/transport/protocols/http/config.proto
HTTP/2 传输伪装(不是 HTTP proxy 协议)。设置在 TransportConfig.http。
HttpConfig
hoststring[]
Host 头值(随机选取)
pathstring
请求路径
methodstring
HTTP 方法
HttpHeader
namestring
头名称(如 Accept、Cookie)
valuestring[]
头值;多项时随机选取一项
{
"transport": {
"http": {
"host": ["example.com"],
"path": "/download",
"method": "GET"
},
"tls": { "serverName": "example.com" }
}
}