wslay_event_get_status_code_received(3)

wslay_event_get_status_code_received3

Return status code received in close control frame

Usage

#include <wslay/wslay.h>

uint16_t wslay_event_get_status_code_received(wslay_event_context_ptr ctx)

Overview

wslay_event_get_status_code_received() returns status code received in close control frame. If no close control frame has not been received, returns WSLAY_CODE_ABNORMAL_CLOSURE. If received close control frame has no status code, returns WSLAY_CODE_NO_STATUS_RCVD.

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

Author

Tatsuhiro Tsujikawa

From libwslay 1.1.1-7 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.