18#ifndef __VSF_LINUX_HTTPD_WEBSOCKET_H__
19#define __VSF_LINUX_HTTPD_WEBSOCKET_H__
void(* vsf_linux_httpd_websocket_onerror_t)(vsf_linux_httpd_request_t *req)
Definition __vsf_linux_urihandler_websocket.h:50
void(* vsf_linux_httpd_websocket_onmessage_t)(vsf_linux_httpd_request_t *req, const vsf_linux_httpd_urihandler_websocket_t *websocket_ctx, uint8_t *buf, uint32_t len)
Definition __vsf_linux_urihandler_websocket.h:51
const vsf_linux_httpd_urihandler_op_t vsf_linux_httpd_urihandler_websocket_op
void(* vsf_linux_httpd_websocket_onclose_t)(vsf_linux_httpd_request_t *req)
Definition __vsf_linux_urihandler_websocket.h:49
int vsf_linux_httpd_websocket_write(vsf_linux_httpd_request_t *req, uint8_t *buf, int len, bool is_string)
int(* vsf_linux_httpd_websocket_onopen_t)(vsf_linux_httpd_request_t *req)
Definition __vsf_linux_urihandler_websocket.h:48
Definition vsf_fifo_stream.h:99
Definition vsf_linux_httpd.h:251
unsigned int uint32_t
Definition lvgl.h:43
unsigned char uint8_t
Definition lvgl.h:40
unsigned long long uint64_t
Definition stdint.h:11
Definition vsf_linux_httpd.h:170
Definition __vsf_linux_urihandler_websocket.h:33
uint8_t opcode
Definition __vsf_linux_urihandler_websocket.h:40
vsf_fifo_stream_t stream_in
Definition __vsf_linux_urihandler_websocket.h:34
uint8_t is_start
Definition __vsf_linux_urihandler_websocket.h:41
uint8_t masking_key[4]
Definition __vsf_linux_urihandler_websocket.h:37
uint8_t is_string
Definition __vsf_linux_urihandler_websocket.h:43
uint8_t len_size
Definition __vsf_linux_urihandler_websocket.h:38
uint8_t is_fin
Definition __vsf_linux_urihandler_websocket.h:42
uint8_t masking_pos
Definition __vsf_linux_urihandler_websocket.h:45
uint8_t is_masking
Definition __vsf_linux_urihandler_websocket.h:44
vsf_fifo_stream_t stream_out
Definition __vsf_linux_urihandler_websocket.h:35
uint8_t state
Definition __vsf_linux_urihandler_websocket.h:39
uint64_t payload_len
Definition __vsf_linux_urihandler_websocket.h:36