DOKK / manpages / debian 12 / libwslay-doc / wslay_event_get_write_enabled.3.en
WSLAY_EVENT_GET_WRITE_ENABLED(3) wslay WSLAY_EVENT_GET_WRITE_ENABLED(3)

wslay_event_get_write_enabled - Query whether the event-based API context allows write operation

#include <wslay/wslay.h>


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

After wslay_event_shutdown_write() is called, wslay_event_get_write_enabled() returns 0.

wslay_event_shutdown_write()

Tatsuhiro Tsujikawa

2021, 2015, Tatsuhiro Tsujikawa

November 7, 2021 @PACKAGE_VERSION@