Exception: Webtube::UnknownReservedBit

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = "frame with unknown RSV bit arrived", frame: nil) ⇒ UnknownReservedBit



897
898
899
900
901
902
903
# File 'lib/webtube.rb', line 897

def initialize message =
        "frame with unknown RSV bit arrived",
    frame: nil
  super message
  @frame = frame
  return
end

Instance Attribute Details

#frameObject (readonly)

Returns the value of attribute frame.



895
896
897
# File 'lib/webtube.rb', line 895

def frame
  @frame
end

Instance Method Details

#websocket_close_status_codeObject



905
906
907
# File 'lib/webtube.rb', line 905

def websocket_close_status_code
  return 1003
end