class WebSocketRb::Wrapper::FramePing
Public Class Methods
new()
click to toggle source
Calls superclass method
WebSocketRb::Wrapper::FrameOutgoing::new
# File lib/web_socket_rb/wrapper/frame_ping.rb, line 7 def initialize rand_payload_data = Random.new.bytes(10) super(opcode: PING, payload_data: rand_payload_data) end