class Protocol::WebSocket::Error

Status codes as defined by <tools.ietf.org/html/rfc6455#section-7.4.1>.

Constants

GOING_AWAY

Indicates that an endpoint is “going away”, such as a server going down or a browser having navigated away from a page.

INVALID_DATA

Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept.

NO_ERROR

Indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.

PROTOCOL_ERROR

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