class PingFrame
Represents a ping frame that is sent or received by a WebSocket connection.
Definitions
def reply(**options)
Generate a suitable reply.
Signature
-
returns
PongFrame
Implementation
def reply(**options)
PongFrame.new(true, **options).pack(self.unpack)
end
def apply(connection)
Apply this frame to the specified connection.
Implementation
def apply(connection)
connection.receive_ping(self)
end