wslay_event_shutdown_read
Disable read operation
- Provided by: libwslay-doc (Version: 1.1.1-4build1)
- Source: wslay
- Report a bug
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
2024, 2015, Tatsuhiro Tsujikawa