disconnect
Disconnect from the Socket.IO server. Cleans up all event handlers and closes the connection.
Return
Result indicating success or failure with error details
Disconnect from the Socket.IO server. Cleans up all event handlers and closes the connection.
Result indicating success or failure with error details