bitfinex-api-php icon indicating copy to clipboard operation
bitfinex-api-php copied to clipboard

Websockets

Open joshuarossi opened this issue 8 years ago • 3 comments

This is a really great library! We want to add it to the docs at docs.bitfinex.com, but would it be possible to add support for websockets?

joshuarossi avatar Jul 23 '16 20:07 joshuarossi

Hey Joshua thanks!

To tell you do truth I haven't even heard of "client" side websockets up until now. I may be wrong but from what I know about PHP it's by far one of the worst languages to handle open connections for a longer period of time. I assume you'd have to hack a lot of things so you don't run out of resources.

I googled some libraries (Devristo/phpws, Textalk/websocket-php etc) and they are rather complex and often dependent on another libs.

I'm sorry but I don't see myself adding WS support to this lib.

mariodian avatar Jul 24 '16 05:07 mariodian

no problem, maybe i could give it a shot? I'll submit a PR if I can get it to work

joshuarossi avatar Jul 25 '16 01:07 joshuarossi

Sure no problem. Thanks!

mariodian avatar Jul 25 '16 04:07 mariodian