class PingMessage
Represents a ping message that can be sent over a WebSocket connection.
Definitions
def send(connection)
Send this message as a ping frame over the given connection.
Signature
-
parameter
connectionConnection The WebSocket connection to send through.
Implementation
def send(connection)
connection.send_ping(@buffer)
end