Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
http_resource_detail_websocket Struct Reference

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_tdata_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.
 

Detailed Description

Representation of a websocket server resource.

Field Documentation

◆ cb

http_resource_websocket_cb_t http_resource_detail_websocket::cb

Resource callback used by the server to interact with the application.

◆ common

struct http_resource_detail http_resource_detail_websocket::common

Common resource details.

◆ data_buffer

uint8_t* http_resource_detail_websocket::data_buffer

Data buffer used to exchanged data between server and the, application.

◆ data_buffer_len

size_t http_resource_detail_websocket::data_buffer_len

Length of the data in the data buffer.

◆ user_data

void* http_resource_detail_websocket::user_data

A pointer to the user data registered by the application.


◆ ws_sock

int http_resource_detail_websocket::ws_sock

Websocket socket value.


The documentation for this struct was generated from the following file: