custom properties on Connection object for Socket library #493
Tankonyako
started this conversation in
Ideas
Replies: 1 comment
-
@Tankonyako thanks for bringing this up and thank you for sharing 👍 It's a nice idea and I think this will work for some specific use cases , but I am not sure if it will be part of ReactPHP in the nearer future. Don't get me wrong, I like this approach, but we also have to think of the bigger picture here. Not sure how needed this feature is and what it involves, particularly when it comes to documenting, testing and recommending this. Nonetheless, if your fork works for your use cases I think it's a win 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think custom properties for connection, is useful for example: you have multiple modules and want transfer data between by 'data' events for example, or hold user auth.
Like i do: https://github.com/Tankonyako/reactphp-socket-with-properties
Beta Was this translation helpful? Give feedback.
All reactions