char data[]
Websocket data.
Definition: teo_web.h:51
teoweb_config * conf
Pointer to teoweb_config.
Definition: teo_web.h:25
Definition: mongoose.h:1718
Websocket disconnected.
Definition: teo_web.h:40
void * ke
Ponter to ksnetEvMgrClass.
Definition: teo_web.h:22
File: teo_web.h Author: Kirill Scherba kirill@scherba.ru
Definition: teo_web.h:21
struct mg_serve_http_opts s_http_server_opts
HTTP server options.
Definition: teo_web.h:27
Websocket connected.
Definition: teo_web.h:38
ksnHTTPClass * ksnHTTPInit(ksnetEvMgrClass *ke, teoweb_config *tw_cfg)
Initialize teonet HTTP module.
Definition: teo_web.c:239
uint16_t cmd
Teonet HTTP module async event commands.
Definition: teo_web.h:49
File: conf.h Author: Kirill Scherba kirill@scherba.ru
Definition: teo_web_conf.h:16
Teonet HTTP module async data structure.
Definition: teo_web.h:47
KSNet event manager functions data.
Definition: ev_mgr.h:245
void * ta
Pointer to teoAuthClass.
Definition: teo_web.h:24
char * s_http_port
HTTP port.
Definition: teo_web.h:26
pthread_t tid
HTTP thread id.
Definition: teo_web.h:28
WS_CMD
Teonet HTTP module async event commands.
Definition: teo_web.h:36
int stop
Stop HTTP server flag.
Definition: teo_web.h:29
struct ksnHTTPClass ksnHTTPClass
File: teo_web.h Author: Kirill Scherba kirill@scherba.ru
Websocket send message.
Definition: teo_web.h:39
int stopped
HTTP server is stopped.
Definition: teo_web.h:30
size_t data_len
Legth of websocket data.
Definition: teo_web.h:50
void ksnHTTPDestroy(ksnHTTPClass *kh)
Destroy teonet HTTP module.
Definition: teo_web.c:271
void * kws
Pointer to teoWSClass.
Definition: teo_web.h:23