Exception: Webtube::FragmentedControlFrame

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 = "a control frame arrived without its FIN flag set", frame: nil) ⇒ FragmentedControlFrame

Returns a new instance of FragmentedControlFrame.



991
992
993
994
995
996
997
# File 'lib/webtube.rb', line 991

def initialize message =
        "a control frame arrived without its FIN flag set",
    frame: nil
  super message
  @frame = frame
  return
end

Instance Attribute Details

#frameObject (readonly)

Returns the value of attribute frame.



989
990
991
# File 'lib/webtube.rb', line 989

def frame
  @frame
end