disconnect_request

Request to close user session

The client can request to close a session (bypassing the expiration period after a regular disconnect) by emitting a disconnect_request event.

socketLocal.emit('disconnect_request')

The socket will be disconnected. Further, if no other clients are connected with the same user’s credentials the user session will be closed.