libwebsockets
Lightweight C library for HTML5 websockets
|
#include <lws-http.h>
Data Fields | |
unsigned char * | token |
int | 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 len = 0. Otherwise .token points to .len chars containing that header content.
int lws_tokens::len |
length of the token's value
unsigned char* lws_tokens::token |
pointer to start of the token