Exception: LibWebSocket::Frame::Error::UnsupportedData

Inherits:
LibWebSocket::Frame::Error show all
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

#clean_close?

Instance Method Details

#status_codeObject



42
# File 'lib/libwebsocket/frame/error.rb', line 42

def status_code; 1003; end