WebSocket-for-Python
WebSocket-for-Python copied to clipboard
Sending a specific message on a timer
Hello! This library looks awesome, thank you for it!
I'm writing a small program to stay connected to Twitch's Pubbub system, and it's working beautifully. The only thing I can't figure out is pinging.
Twitch requires that a message be sent at least once every five minutes in the format below or the client will be disconnected. What would be the proper way to implement this?
{
"type": "PING"
}