By default, when the app has user authentication enabled, Soketi disconnects unauthenticated or unauthorized connections in 30 seconds. However, you can change this duration using the following environment variable:
# 5 seconds timeout
USER_AUTHENTICATION_TIMEOUT=5000 soketi start
Send message to specific user ID
With the help of the new HTTP API endpoint, Soketi can also allow you to send a message specific to an user id. This feature is implemented on all SDKs and you can see a JS sample below.
The SDKs namings differ, so ensure you use the latest SDK version for your language.
Terminate specific user's connections
Soketi supports terminating a user's connections after it was authenticated. It stays in sync with Pusher's protocol and most of the SDKs are already implementing a method for this functionality. Ensure you use the latest SDK version for your language.