You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need an API (e.g in gwsocket strict mode) to disconnect an already connected client.
For example, it is need to disconnect a user who has not passed the authentication process.
Invoking ws_close(listener) should address your issue. Alternatively, you could use ws_handle_close(client), which may be a better approach. However, both ways will require changing the function's scope, as they're currently set to static
The text was updated successfully, but these errors were encountered: