#include <wslay/wslay.h>
wslay_event_get_close_sent
wslay_event_get_close_sent() returns 1 if a close control frame has been sent to peer, or returns 0.
wslay_event_get_close_sent()
wslay_event_get_close_received
wslay_event_get_status_code_received