VXVX Docs

WebSocket

WebsocketConfig

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

Set on TransportConfig.websocket.

WebsocketConfig

host
string

Host header / authority

path
string

URL path; empty = /

header

Extra headers (key, value)

maxEarlyData
int32

Maximum early data bytes

useBrowserForwarding
bool

Browser forwarding mode

earlyDataHeaderName
string

Header that carries early data

key
string

Header name

value
string

Header value

{
  "transport": {
    "websocket": {
      "path": "/ray",
      "host": "example.com"
    },
    "tls": { "serverName": "example.com" }
  }
}

Also embedded in HTTPUpgrade.

Comments