Parser

Functions

ssize_t ymo_ws_parse_op(ymo_ws_session_t *session, char *buffer, size_t len)

Parse websocket op code

ssize_t ymo_ws_parse_len(ymo_ws_session_t *session, char *buffer, size_t len)

Parse websocket message length

ssize_t ymo_ws_parse_len_ext(ymo_ws_session_t *session, char *buffer, size_t len)

Parse websocket message length

ssize_t ymo_ws_parse_masking_key(ymo_ws_session_t *session, char *buffer, size_t len)

Parse websocket message masking key

ssize_t ymo_ws_parse_payload(ymo_ws_session_t *session, char *buffer, size_t len)

Parse websocket payload