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_sent - Return status code sent in close control frame

Author

       Tatsuhiro Tsujikawa

Description

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.

Name

       wslay_event_get_status_code_sent - Return status code sent in close control frame

See Also

wslay_event_get_status_code_received()

Synopsis

       #include <wslay/wslay.h>

       uint16_twslay_event_get_status_code_sent(wslay_event_context_ptrctx)

See Also