VXVX Docs

HTTP transport

HttpConfig(HTTP/2 伪装)

Proto:protos/proto/vx/transport/protocols/http/config.proto

HTTP/2 传输伪装(不是 HTTP proxy 协议)。设置在 TransportConfig.http

HttpConfig

host
string[]

Host 头值(随机选取)

path
string

请求路径

method
string

HTTP 方法

header

自定义头,见 HttpHeader

HttpHeader

name
string

头名称(如 AcceptCookie

value
string[]

头值;多项时随机选取一项

{
  "transport": {
    "http": {
      "host": ["example.com"],
      "path": "/download",
      "method": "GET"
    },
    "tls": { "serverName": "example.com" }
  }
}

评论