Exception: LibWebSocket::Frame::Error::UnsupportedData
- Inherits:
-
LibWebSocket::Frame::Error
- Object
- RuntimeError
- Error
- LibWebSocket::Frame::Error
- LibWebSocket::Frame::Error::UnsupportedData
- Defined in:
- lib/libwebsocket/frame/error.rb
Overview
1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g. an endpoint that understands only text data MAY send this if it receives a binary message).
Instance Method Summary collapse
Methods inherited from LibWebSocket::Frame::Error
Instance Method Details
#status_code ⇒ Object
42 |
# File 'lib/libwebsocket/frame/error.rb', line 42 def status_code; 1003; end |