Exception: LibWebSocket::Frame::Error::ProtocolError

Inherits:
LibWebSocket::Frame::Error show all
Defined in:
lib/libwebsocket/frame/error.rb

Overview

1002 indicates that an endpoint is terminating the connection due to a protocol error.

Instance Method Summary collapse

Methods inherited from LibWebSocket::Frame::Error

#clean_close?

Instance Method Details

#status_codeObject



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

def status_code; 1002; end