Call the following code when a user logs out from your website:
By default socket gets disconnected on performing logout. If you want to use socket disconnect for your use case then you can call below mentioned function.
Updated over 3 years ago
Did this page help you?