DOKK / manpages / debian 10 / libwslay-doc / wslay_event_get_status_code_sent.3.en
WSLAY_EVENT_GET_STATUS_CODE_SENT(3) wslay WSLAY_EVENT_GET_STATUS_CODE_SENT(3)

wslay_event_get_status_code_sent - Return status code sent in close control frame

#include <wslay/wslay.h>


wslay_event_get_status_code_sent() returns status code sent in close control frame. If no close control frame has not been sent, returns WSLAY_CODE_ABNORMAL_CLOSURE. If sent close control frame has no status code, returns WSLAY_CODE_NO_STATUS_RCVD.

wslay_event_get_status_code_received()

Tatsuhiro Tsujikawa

2018, 2015, Tatsuhiro Tsujikawa

September 30, 2018 @PACKAGE_VERSION@