DOKK / manpages / debian 12 / libwslay-doc / wslay_event_shutdown_read.3.en
WSLAY_EVENT_SHUTDOWN_READ(3) wslay WSLAY_EVENT_SHUTDOWN_READ(3)

wslay_event_shutdown_read - Disable read operation

#include <wslay/wslay.h>


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.

wslay_event_get_read_enabled()

Tatsuhiro Tsujikawa

2021, 2015, Tatsuhiro Tsujikawa

November 7, 2021 @PACKAGE_VERSION@