Skip to content

WebSockets channel binding

Contains information about the channel representation in WebSockets.

Structure

copy
{
$schema:"http://json-schema.org/draft-07/schema#"
$id:"http://asyncapi.com/bindings/websockets/0.1.0/channel.json"
title:"WebSockets channel bindings object"
description:"When using WebSockets, the channel represents the connection. Unlike other protocols that support multiple virtual channels (topics, routing keys, etc.) per connection, WebSockets doesn't support virtual channels or, put it another way, there's only one channel and its characteristics are strongly related to the protocol used for the handshake, i.e., HTTP."
type:"object"
additionalProperties:false
patternProperties:{...}
properties:{...}
examples:[...]
}

Examples

json
{
    "method": "POST",
    "bindingVersion": "0.1.0"
}

Changelog

Good news, nothing was changed