Tizen RT Libs&Environment
v1.0 D5
|
structure to manage websocket client/server More...
#include <websocket.h>
Data Fields | |
int | state |
0 - closed 1 - running More... | |
int | fd |
Each server or client has own socket fd. More... | |
int | tls_enabled |
TLS enable flag (1 - enable, 0 - disable) More... | |
int | ping_cnt |
Counter for ping message without receiving pong. More... | |
websocket_context_ptr | ctx |
Websocket context to manage event queue, errors and configurations. More... | |
websocket_cb_t * | cb |
Each server of client should define callbacks to use websocket functions. More... | |
mbedtls_net_context | tls_net |
Contain network file descriptor. More... | |
mbedtls_ssl_context * | tls_ssl |
Handling all tls context informations. More... | |
mbedtls_ssl_config * | tls_conf |
TLS Initial configuration structure. More... | |
struct work_s | time_worker |
Ping timer structure. More... | |
pthread_t | thread_id |
Websocket event handler thread ID. More... | |
pthread_attr_t | thread_attr |
Websocket event handler thread attribute. More... | |
structure to manage websocket client/server
Definition at line 357 of file websocket.h.
websocket_cb_t* cb |
Each server of client should define callbacks to use websocket functions.
Definition at line 368 of file websocket.h.
Websocket context to manage event queue, errors and configurations.
Definition at line 366 of file websocket.h.
int fd |
Each server or client has own socket fd.
Definition at line 360 of file websocket.h.
int ping_cnt |
Counter for ping message without receiving pong.
Definition at line 364 of file websocket.h.
int state |
0 - closed 1 - running
Definition at line 358 of file websocket.h.
pthread_attr_t thread_attr |
Websocket event handler thread attribute.
Definition at line 380 of file websocket.h.
pthread_t thread_id |
Websocket event handler thread ID.
Definition at line 378 of file websocket.h.
struct work_s time_worker |
Ping timer structure.
Definition at line 376 of file websocket.h.
mbedtls_ssl_config* tls_conf |
TLS Initial configuration structure.
Definition at line 374 of file websocket.h.
int tls_enabled |
TLS enable flag (1 - enable, 0 - disable)
Definition at line 362 of file websocket.h.
mbedtls_net_context tls_net |
Contain network file descriptor.
Definition at line 370 of file websocket.h.
mbedtls_ssl_context* tls_ssl |
Handling all tls context informations.
Definition at line 372 of file websocket.h.