other versions
- testing 1.1.0-1
- stretch-backports 1.0.1~39-g6abacc1-1~bpo9+1
- unstable 1.1.0-1
WSLAY_EVENT_SHUTDOWN_READ(3) | wslay | WSLAY_EVENT_SHUTDOWN_READ(3) |
NAME¶
wslay_event_shutdown_read - Disable read operationSYNOPSIS¶
#include <wslay/wslay.h>- void wslay_event_shutdown_read(wslay_event_context_ptr ctx)
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.
SEE ALSO¶
wslay_event_get_read_enabled()AUTHOR¶
Tatsuhiro TsujikawaCOPYRIGHT¶
2017, 2015, Tatsuhiro TsujikawaSeptember 28, 2017 | @PACKAGE_VERSION@ |