DOKK / manpages / debian 11 / libwslay-doc / wslay_event_get_read_enabled.3.en
WSLAY_EVENT_GET_READ_ENABLED(3) wslay WSLAY_EVENT_GET_READ_ENABLED(3)

wslay_event_get_read_enabled - Query whether the event-based API context allows read operation

#include <wslay/wslay.h>


wslay_event_get_read_enabled() returns 1 if the event-based API context allows read operation, or return 0.

After wslay_event_shutdown_read() is called, wslay_event_get_read_enabled() returns 0.

wslay_event_shutdown_read()

Tatsuhiro Tsujikawa

2020, 2015, Tatsuhiro Tsujikawa

September 23, 2020 @PACKAGE_VERSION@