Exception: LibWebSocket::Frame::Error::AbnormalClosure

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

#clean_close?

Instance Method Details

#status_codeObject



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

def status_code; 1006; end