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
Instead of having Guzzle and Ratchet as hard dependencies, should there instead be other interfaces used so we can use other HTTP clients or websocket clients?
For HTTP clients this is a little more straight forward since PSR-18 exists for that reason. For websockets, something else would have to be made since there is no standardization, but there are competing clients.
One of my use cases for a separate websocket client is so I could use the Swoole websocket client in place of ratchet. Could potentially just create an interface in this library, and then separate out the ratchet implementation into its own repo. Thoughts?
The text was updated successfully, but these errors were encountered:
@ChadSikorra I completely agree and have been thinking about using the PSR standard instead of a hard dependency on Guzzle
The problem does arise with the websocket client, I do not currently have the time to abstract that implementation out, if there was an existing standard we could use it would be ideal.
Instead of having Guzzle and Ratchet as hard dependencies, should there instead be other interfaces used so we can use other HTTP clients or websocket clients?
For HTTP clients this is a little more straight forward since PSR-18 exists for that reason. For websockets, something else would have to be made since there is no standardization, but there are competing clients.
One of my use cases for a separate websocket client is so I could use the Swoole websocket client in place of ratchet. Could potentially just create an interface in this library, and then separate out the ratchet implementation into its own repo. Thoughts?
The text was updated successfully, but these errors were encountered: