disconnect #
Asks the protocol to force-close a connection.
Arguments #
disconnect(connectionId);
Arguments | Type | Description |
---|---|---|
connectionId | string | Connection unique identifier, previously registered by the protocol using newConnection |
Return #
The disconnect
function is not expected to return a value.
Edit this page on Github(opens new window)