|
Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Representation of a websocket server resource. More...
#include <server.h>
Data Fields | |
| struct http_resource_detail | common |
| Common resource details. | |
| int | ws_sock |
| Websocket socket value. | |
| http_resource_websocket_cb_t | cb |
| Resource callback used by the server to interact with the application. | |
| uint8_t * | data_buffer |
| Data buffer used to exchanged data between server and the, application. | |
| size_t | data_buffer_len |
| Length of the data in the data buffer. | |
| void * | user_data |
| A pointer to the user data registered by the application. | |
Representation of a websocket server resource.
| http_resource_websocket_cb_t http_resource_detail_websocket::cb |
Resource callback used by the server to interact with the application.
| struct http_resource_detail http_resource_detail_websocket::common |
Common resource details.
| uint8_t* http_resource_detail_websocket::data_buffer |
Data buffer used to exchanged data between server and the, application.
| size_t http_resource_detail_websocket::data_buffer_len |
Length of the data in the data buffer.
| void* http_resource_detail_websocket::user_data |
A pointer to the user data registered by the application.
| int http_resource_detail_websocket::ws_sock |
Websocket socket value.