libwebsockets
Lightweight C library for HTML5 websockets
lws_tokens Struct Reference

#include <lws-http.h>

Data Fields

unsigned char * token
 
int 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 len = 0. Otherwise .token points to .len chars containing that header content.

Field Documentation

◆ len

int lws_tokens::len

length of the token's value

◆ token

unsigned char* lws_tokens::token

pointer to start of the token


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