RxWebsocket
RxWebsocket copied to clipboard
Websockets for PHP using Rx
https://php.watch/versions/8.2/partially-supported-callable-deprecation
Hello, I've attempted to use your package to set up a simple server to print a message, hello. I have failed to get any output on the console or in...
With the following: ```php $client = new \Rx\Websocket\Client('ws://127.0.0.1:9090/ws'); $client->subscribe(function (MessageSubject $ms) { $disp = $ms->subscribe(); addTimer(2, function () use ($disp) { echo "Dispose...\n"; $disp->dispose(); }); }); ``` The websocket should...