{
  "format": 1,
  "capture": "h2-websocket-rfc8441",
  "check": "h2-ws",
  "exchanges": [
    {
      "stream": 1,
      "method": "CONNECT",
      "protocol": "websocket",
      "url": "https://ws.example.com/chat?room=1",
      "status": 200
    },
    {
      "stream": 3,
      "method": "GET",
      "protocol": null,
      "url": "https://ws.example.com/other",
      "status": 200
    }
  ],
  "messages": [
    {
      "stream": 1,
      "dir": "c2s",
      "opcode": "TEXT",
      "text": "hello from client"
    },
    {
      "stream": 1,
      "dir": "c2s",
      "opcode": "PING",
      "hex": "70"
    },
    {
      "stream": 1,
      "dir": "s2c",
      "opcode": "TEXT",
      "text": "hello from server"
    },
    {
      "stream": 1,
      "dir": "s2c",
      "opcode": "BINARY",
      "hex": "deadbeef00010203"
    },
    {
      "stream": 1,
      "dir": "s2c",
      "opcode": "TEXT",
      "text": "compressed compressed compressed"
    },
    {
      "stream": 1,
      "dir": "s2c",
      "opcode": "TEXT",
      "text": "compressed again, same window"
    }
  ]
}
