logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wslay_event_get_status_code_received - Return status code received in close control frame

Author

       Tatsuhiro Tsujikawa

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)

See Also