Core
Write Protocols v2.x
2

# 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.