Exception: Lich::Common::WebSocket::Handshake::Error

Inherits:
StandardError
  • Object
show all
Defined in:
documented/common/websocket/handshake.rb

Overview

Raised when the server's response isn't a valid 101 upgrade, or its Sec-WebSocket-Accept doesn't match what this request's key requires -- including the play.net shim rejecting a non-browser Origin/subprotocol/User-Agent, which Genie5#356 flags as an open question never confirmed against the live endpoint.