Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Expose the underlying request in PSWebSocket #47

Open
rinatkhanov opened this issue Apr 21, 2016 · 2 comments
Open

Expose the underlying request in PSWebSocket #47

rinatkhanov opened this issue Apr 21, 2016 · 2 comments

Comments

@rinatkhanov
Copy link

I have the following workflow in my system:

  • 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?

@robertjpayne
Copy link
Contributor

@rinatkhanov this is a good point, I'll expose the NSURLRequest as there really isn't any harm in doing so.

@hyiso
Copy link

hyiso commented Jun 17, 2019

any progress? 😀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants