Pings regularly, not in blocking receive wait?
programmin1 opened this issue · comments
programmin1 commented
This is a very handy library... but what if I want to listen, as in the example
while ($message = yield $connection->receive()) { ...
but also ping every x seconds even if there was nothing received?
A websocket might need regular pings to stay active.
Niklas Keller commented
Pings are automatically sent, or so you want to send a message instead of a websocket ping?