Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
http_parser Struct Reference

#include <http_parser.h>

Data Fields

unsigned int type: 2
 
unsigned int flags: 8
 
unsigned int state: 7
 
unsigned int header_state: 7
 
unsigned int index: 7
 
unsigned int lenient_http_headers: 1
 
uint32_t nread
 
uint64_t content_length
 
unsigned short http_major
 
unsigned short http_minor
 
unsigned int status_code: 16
 
unsigned int method: 8
 
unsigned int http_errno: 7
 
unsigned int upgrade: 1
 
voiddata
 
const struct sockaddraddr
 

Field Documentation

◆ addr

const struct sockaddr* http_parser::addr

◆ content_length

uint64_t http_parser::content_length

◆ data

void* http_parser::data

PUBLIC

◆ flags

unsigned int http_parser::flags

◆ header_state

unsigned int http_parser::header_state

◆ http_errno

unsigned int http_parser::http_errno

◆ http_major

unsigned short http_parser::http_major

READ-ONLY

◆ http_minor

unsigned short http_parser::http_minor

◆ index

unsigned int http_parser::index

◆ lenient_http_headers

unsigned int http_parser::lenient_http_headers

◆ method

unsigned int http_parser::method

◆ nread

uint32_t http_parser::nread

◆ state

unsigned int http_parser::state

◆ status_code

unsigned int http_parser::status_code

◆ type

unsigned int http_parser::type

PRIVATE

◆ upgrade

unsigned int http_parser::upgrade

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