Exception: EventMachine::WebSocket::WSProtocolError

Inherits:
WebSocketError
  • Object
show all
Defined in:
lib/em-websocket/websocket.rb

Overview

Used for errors which should cause the connection to close. See RFC6455 ยง7.4.1 for a full description of meanings

Direct Known Subclasses

InvalidDataError, WSMessageTooBigError

Instance Method Summary collapse

Instance Method Details

#codeObject



17
# File 'lib/em-websocket/websocket.rb', line 17

def code; 1002; end