Esc

Ws_Error_Kind

enumextensionsince 0.36.1Source
  • macOS: Ws_Error_Kind works on macOS
  • Linux: Ws_Error_Kind works on Linux
  • Windows: Ws_Error_Kind works on Windows
  • Wasm: Ws_Error_Kind works on Wasm

Declaration

Ws_Error_Kind :: enum {
    NONE;// the peer broke the framing rules    PROTOCOL;// a text message or close reason is not valid UTF-8    UTF8;// a frame or message exceeds Ws_Options    LIMIT;// a compressed message did not inflate    COMPRESSION;// the upgrade request, response or extension offer was invalid    HANDSHAKE;// the underlying connection failed    TRANSPORT;// a Ws_Config timeout elapsed    TIMED_OUT;// the connection is closing or already disposed    CLOSED;}

Why a WebSocket operation failed.

See also