VSF Documented
Data Structures | Typedefs | Functions | Variables
__vsf_linux_urihandler_websocket.h File Reference
#include "kernel/vsf_kernel.h"

Go to the source code of this file.

Data Structures

struct  vsf_linux_httpd_urihandler_websocket_t
 

Typedefs

typedef struct vsf_linux_httpd_urihandler_websocket_t vsf_linux_httpd_urihandler_websocket_t
 
typedef int(* vsf_linux_httpd_websocket_onopen_t) (vsf_linux_httpd_request_t *req)
 
typedef void(* vsf_linux_httpd_websocket_onclose_t) (vsf_linux_httpd_request_t *req)
 
typedef void(* vsf_linux_httpd_websocket_onerror_t) (vsf_linux_httpd_request_t *req)
 
typedef 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)
 

Functions

int vsf_linux_httpd_websocket_write (vsf_linux_httpd_request_t *req, uint8_t *buf, int len, bool is_string)
 

Variables

const vsf_linux_httpd_urihandler_op_t vsf_linux_httpd_urihandler_websocket_op
 

Typedef Documentation

◆ vsf_linux_httpd_urihandler_websocket_t

◆ vsf_linux_httpd_websocket_onopen_t

typedef int(* vsf_linux_httpd_websocket_onopen_t) (vsf_linux_httpd_request_t *req)

◆ vsf_linux_httpd_websocket_onclose_t

typedef void(* vsf_linux_httpd_websocket_onclose_t) (vsf_linux_httpd_request_t *req)

◆ vsf_linux_httpd_websocket_onerror_t

typedef void(* vsf_linux_httpd_websocket_onerror_t) (vsf_linux_httpd_request_t *req)

◆ vsf_linux_httpd_websocket_onmessage_t

typedef 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)

Function Documentation

◆ vsf_linux_httpd_websocket_write()

int vsf_linux_httpd_websocket_write ( vsf_linux_httpd_request_t req,
uint8_t buf,
int  len,
bool  is_string 
)

Variable Documentation

◆ vsf_linux_httpd_urihandler_websocket_op

const vsf_linux_httpd_urihandler_op_t vsf_linux_httpd_urihandler_websocket_op
extern