HTTP transport
HttpConfig (HTTP/2 camouflage)
Proto: protos/proto/vx/transport/protocols/http/config.proto
HTTP/2 transport camouflage (not the HTTP proxy protocol). Set on TransportConfig.http.
HttpConfig
hoststring[]
Host header values (one chosen at random)
pathstring
Request path
methodstring
HTTP method
HttpHeader
namestring
Header name (e.g. Accept, Cookie)
valuestring[]
Header values; when multiple are set, one is chosen at random
{
"transport": {
"http": {
"host": ["example.com"],
"path": "/download",
"method": "GET"
},
"tls": { "serverName": "example.com" }
}
}