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
{{ message }}
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
Only two (different) clients, each connecting to their specific URL on the server.
Server accepts only sockets to these two URLs, rejecting everything else.
In my server's webSocketDidOpen delegate callback, I want to save these client sockets (to be able to send messages from the server to my clients). How do I distinguish between them, given that _request is a private property? Is there a better way than just exposing it to the public?
The text was updated successfully, but these errors were encountered:
I have the following workflow in my system:
In my server's
webSocketDidOpen
delegate callback, I want to save these client sockets (to be able to send messages from the server to my clients). How do I distinguish between them, given that_request
is a private property? Is there a better way than just exposing it to the public?The text was updated successfully, but these errors were encountered: