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
| Field | Type | Description |
|---|---|---|
host | string[] | Host header values (random choice) |
path | string | Request path |
method | string | HTTP method |
header | Header[] | Custom headers (name, repeated value) |
{
"transport": {
"http": {
"host": ["example.com"],
"path": "/download",
"method": "GET"
},
"tls": { "serverName": "example.com" }
}
}