square/SocketRocket — pull request #176 by WolfgangD (2014-06-24 21:29:53+00:00)
Title: Adds sendPong for sending unsolicited pong messages.

According to the websocket specification a pong message can be sent unsolicited. This was not possible with the current API.

Pull requests adds new method sendPong for triggering an unsolicited pong message. Used and tested in an iOS app to keep the connection alive (heartbeat).