wslay_event_shutdown_read - Disable read operation
Contents
Copyright
2024, 2015, Tatsuhiro Tsujikawa
@PACKAGE_VERSION@ Apr 22, 2024 WSLAY_EVENT_SHUTDOWN_READ(3)
Description
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.
Name
wslay_event_shutdown_read - Disable read operation
See Also
wslay_event_get_read_enabled()
Synopsis
#include <wslay/wslay.h>
voidwslay_event_shutdown_read(wslay_event_context_ptrctx)