wslay_event_get_read_enabled

SYNOPSIS

#include <wslay/wslay.h>

int wslay_event_get_read_enabled(wslay_event_context_ptr ctx)

DESCRIPTION

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.