Skip to content
Advertisement

Tag: reactphp

Ratchet client event loop wait for finish

I have the following test php code: The code mostly works, it connects to the websocket and prints messages on the command line that are sent through the websocket. Also when I send quit it stops the connection and the script ends. However the last echo in the script, the “the echo $reason” echo, is printed first thing the script

Advertisement