Web User Logout Guide

Call the following code when a user logs out from your website:

Pre-built customizable chat UI


Build your UI from scratch


Disconnect socket connection

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.


What’s Next
Did this page help you?