Sign In

$wsClose[]

Closes a websocket connection and removes all listeners of it

v1.5.0+ Requires Brackets

Usage

$wsClose[;]
Also callable as
$websocketClose

Arguments

NameTypeRequiredDescription
websocket ID
NumberYesThe id of the websocket to attach this listener to
code
NumberNoThe status code to send

Was this page helpful?