40 LWS_CLOSE_STATUS_NOSTATUS = 0,
102 LWS_CLOSE_STATUS_CLIENT_TRANSACTION_DONE = 2000,
106 LWS_CLOSE_STATUS_NOSTATUS_CONTEXT_DESTROY = 9999,
121 LWS_VISIBLE LWS_EXTERN
void
123 unsigned char *buf,
size_t len);
LWS_VISIBLE LWS_EXTERN void lws_close_reason(struct lws *wsi, enum lws_close_status status, unsigned char *buf, size_t len)
lws_close_status
Definition: lws-ws-close.h:39
@ LWS_CLOSE_STATUS_PROTOCOL_ERR
Definition: lws-ws-close.h:47
@ LWS_CLOSE_STATUS_MESSAGE_TOO_LARGE
Definition: lws-ws-close.h:79
@ LWS_CLOSE_STATUS_NORMAL
Definition: lws-ws-close.h:41
@ LWS_CLOSE_STATUS_UNACCEPTABLE_OPCODE
Definition: lws-ws-close.h:50
@ LWS_CLOSE_STATUS_NO_STATUS
Definition: lws-ws-close.h:57
@ LWS_CLOSE_STATUS_ABNORMAL_CLOSE
Definition: lws-ws-close.h:62
@ LWS_CLOSE_STATUS_INVALID_PAYLOAD
Definition: lws-ws-close.h:68
@ LWS_CLOSE_STATUS_GOINGAWAY
Definition: lws-ws-close.h:44
@ LWS_CLOSE_STATUS_EXTENSION_REQUIRED
Definition: lws-ws-close.h:83
@ LWS_CLOSE_STATUS_UNEXPECTED_CONDITION
Definition: lws-ws-close.h:91
@ LWS_CLOSE_STATUS_POLICY_VIOLATION
Definition: lws-ws-close.h:73
@ LWS_CLOSE_STATUS_TLS_FAILURE
Definition: lws-ws-close.h:95
@ LWS_CLOSE_STATUS_RESERVED
Definition: lws-ws-close.h:55