The cowboy_websocket
module implements the Websocket protocol.
The callbacks for websocket handlers are defined in the manual
for the cowboy_websocket_handler
behaviour.
Reason for closing the connection.
| {text | binary | close | ping | pong, iodata()}
| {close, close_code(), iodata()}
Frames that can be sent to the client.
Type: 7 | 8 | 13
The version of the Websocket protocol being used.
Type: true | false
Whether a websocket compression extension in in use.
None.