VXVX Docs

WebSocket

WebsocketConfig

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

Set on TransportConfig.websocket.

WebsocketConfig

FieldTypeDescription
hoststringHost header / authority
pathstringURL path; empty = /
headerHeader[]Extra headers (key, value)
maxEarlyDataint32Max early data bytes
useBrowserForwardingboolBrowser forwarding mode
earlyDataHeaderNamestringHeader carrying early data
{
  "transport": {
    "websocket": {
      "path": "/ray",
      "host": "example.com"
    },
    "tls": { "serverName": "example.com" }
  }
}

Also embedded in HTTPUpgrade.

Comments

On this page