wslay_event_get_status_code_received - Return status code received in close control frame
Contents
Copyright
2024, 2015, Tatsuhiro Tsujikawa
@PACKAGE_VERSION@ Apr 22, 2024 WSLAY_EVENT_GET_STATUS_CODE_RECEIVED(3)
Description
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.
Name
wslay_event_get_status_code_received - Return status code received in close control frame
See Also
wslay_event_get_status_code_sent()
Synopsis
#include <wslay/wslay.h>
uint16_twslay_event_get_status_code_received(wslay_event_context_ptrctx)