Core
Write Protocols v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

disconnect #

Asks the protocol to force-close a connection.


Arguments #

Copied to clipboard!
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.