wslay_event_get_close_received

SYNOPSIS

#include <wslay/wslay.h>

int wslay_event_get_close_received(wslay_event_context_ptr ctx)

DESCRIPTION

wslay_event_get_close_received() returns 1 if a close control frame has been received from peer, or returns 0.