libwebsockets
Lightweight C library for HTML5 websockets
lws_tokens Struct Reference

#include <libwebsockets.h>

Data Fields

char * token
 
int token_len
 

Detailed Description

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.

Field Documentation

◆ token

char* lws_tokens::token

pointer to start of the token

◆ token_len

int lws_tokens::token_len

length of the token's value


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