Exception: Webtube::MaskedFrameToClient

Inherits:
ProtocolError
  • Object
show all
Defined in:
lib/webtube.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ProtocolError

#websocket_close_status_code

Constructor Details

#initialize(message = "masked frame arrived but we're the client", frame: nil) ⇒ MaskedFrameToClient

Returns a new instance of MaskedFrameToClient.



941
942
943
944
945
946
947
# File 'lib/webtube.rb', line 941

def initialize message =
        "masked frame arrived but we're the client",
    frame: nil
  super message
  @frame = frame
  return
end

Instance Attribute Details

#frameObject (readonly)

Returns the value of attribute frame.



939
940
941
# File 'lib/webtube.rb', line 939

def frame
  @frame
end