Exception: LibWebSocket::Frame::Error::AbnormalClosure
- Inherits:
-
LibWebSocket::Frame::Error
- Object
- RuntimeError
- Error
- LibWebSocket::Frame::Error
- LibWebSocket::Frame::Error::AbnormalClosure
- Defined in:
- lib/libwebsocket/frame/error.rb
Overview
1006 is a reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the connection was closed abnormally, e.g. without sending or receiving a Close control frame.
Instance Method Summary collapse
Methods inherited from LibWebSocket::Frame::Error
Instance Method Details
#status_code ⇒ Object
59 |
# File 'lib/libwebsocket/frame/error.rb', line 59 def status_code; 1006; end |