class Protocol::WebSocket::PingFrame

Constants

OPCODE

Public Instance Methods

apply(connection) click to toggle source
# File lib/protocol/websocket/ping_frame.rb, line 33
def apply(connection)
        connection.receive_ping(self)
end
reply(**options) click to toggle source
# File lib/protocol/websocket/ping_frame.rb, line 29
def reply(**options)
        PongFrame.new(true, self.unpack, **options)
end