disconnect

fun disconnect(connectionId: Long?)

Disconnects connection matching given connectionId and removes it from the container. This method is recommended for disconnecting connections by their ID from the container.

Parameters

connectionId

ID of the connection