wslay_event_get_status_code_received
Return status code received in close control frame
- Provided by: libwslay-doc (Version: 1.1.1-4build1)
- Source: wslay
- Report a bug
Return status code received in close control frame
#include <wslay/wslay.h>
wslay_event_get_status_code_received() returns status code received in close control frame. If no close control frame has not been received, returns WSLAY_CODE_ABNORMAL_CLOSURE. If received close control frame has no status code, returns WSLAY_CODE_NO_STATUS_RCVD.
wslay_event_get_status_code_sent()
Tatsuhiro Tsujikawa
2024, 2015, Tatsuhiro Tsujikawa