![]() |
libwebsockets
Lightweight C library for HTML5 websockets
|
#include <libwebsockets.h>
Data Fields | |
char * | token |
int | token_len |
struct lws_tokens you need these to look at headers that have been parsed if using the LWS_CALLBACK_FILTER_CONNECTION callback. If a header from the enum list below is absent, .token = NULL and token_len = 0. Otherwise .token points to .token_len chars containing that header content.
char* lws_tokens::token |
pointer to start of the token
int lws_tokens::token_len |
length of the token's value