.common = { \
\
\
}, \
}; \
HTTP_RESOURCE_DEFINE(ws_resource_##_service, _service, \
"/" CONFIG_SHELL_WEBSOCKET_ENDPOINT_URL, \
@ HTTP_GET
GET.
Definition method.h:30
@ HTTP_RESOURCE_TYPE_WEBSOCKET
Websocket resource, application takes control over Websocket connection after and upgrade.
Definition server.h:74
#define BIT(n)
Unsigned integer with bit position n set (signed in assembly language).
Definition util_macro.h:44
#define GET_WS_NAME(_service)
Definition shell_websocket.h:68
#define SHELL_WS_TEMP_RECV_BUF_SIZE
Definition shell_websocket.h:82
#define SHELL_WS_BUF_NAME(_service)
Definition shell_websocket.h:81
int shell_websocket_setup(int ws_socket, void *user_data)
#define GET_WS_DETAIL_NAME(_service)
Definition shell_websocket.h:71
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Representation of a websocket server resource.
Definition server.h:248
void * user_data
A pointer to the user data registered by the application.
Definition server.h:269