Exception: Hyperion::WebSocket::StateError
- Inherits:
-
StandardError
- Object
- StandardError
- Hyperion::WebSocket::StateError
- Defined in:
- lib/hyperion/websocket/connection.rb
Overview
Raised when the peer (or our own code) does something the protocol forbids. Translated to a close frame with the right RFC 6455 ยง7.4 code before the recv loop tears the connection down.