wslay_event_shutdown_read(3)

wslay_event_shutdown_read3

Disable read operation

Usage

#include <wslay/wslay.h>

void wslay_event_shutdown_read(wslay_event_context_ptr ctx)

Overview

wslay_event_shutdown_read() prevents the event-based API context from reading any further data from peer.

This function may be used with wslay_event_queue_close() if the application detects error in the data received and wants to fail WebSocket connection.

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.