ElephantIO / elephant.io

Send events to a socket.io server through PHP
https://elephantio.github.io/elephant.io/
MIT License
103 stars 34 forks source link

Receive events without emitting #19

Open Shelly7w7 opened 1 month ago

Shelly7w7 commented 1 month ago

Is it possible to receive events without emitting anything? Currently I believe its like you emit an event and wait for the response? I am seeking a functionality where I am able to receive multiple events without emitting anything from the client side.

tohenk commented 1 month ago

You can use drain(), see keep alive example.