Exception: Webtube::UnknownReservedBit
- Inherits:
-
ProtocolError
- Object
- StandardError
- ProtocolError
- Webtube::UnknownReservedBit
- Defined in:
- lib/webtube.rb
Instance Attribute Summary collapse
-
#frame ⇒ Object
readonly
Returns the value of attribute frame.
Instance Method Summary collapse
-
#initialize(message = "frame with unknown RSV bit arrived", frame: nil) ⇒ UnknownReservedBit
constructor
A new instance of UnknownReservedBit.
- #websocket_close_status_code ⇒ Object
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 = "frame with unknown RSV bit arrived", frame: nil super @frame = frame return end |
Instance Attribute Details
#frame ⇒ Object (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_code ⇒ Object
905 906 907 |
# File 'lib/webtube.rb', line 905 def websocket_close_status_code return 1003 end |