Marboni
Marboni

Reputation: 2459

Heartbeat timeout in gevent-socketio

I use gevent-socketio in my application. I need to get information about user disconnected even if he didn't finish session properly (calling socket.disconnect() from JS.) As I see from docs, SocketIOServer constructoor has parameter *heartbeat_interval*, but I don't see it in code. As I understood, documentation is outdated - its version 0.3.1, but version of code is 0.3.5-rc2 (and it's only available).

How can I set heartbeat timeout in gevent-socketio?

Thanks, Boris.

Upvotes: 1

Views: 410

Answers (0)

Related Questions