WPILibC++ 2024.3.2
wpi::http_parser Struct Reference

#include <wpinet/http_parser.h>

Public Attributes

unsigned int type: 2
 PRIVATE. More...
 
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
 READ-ONLY. More...
 
unsigned short http_minor
 
unsigned int status_code: 16
 
unsigned int method: 8
 
unsigned int http_errno: 7
 
unsigned int upgrade: 1
 
void * data
 PUBLIC. More...
 

Member Data Documentation

◆ content_length

uint64_t wpi::http_parser::content_length

◆ data

void* wpi::http_parser::data

PUBLIC.

◆ flags

unsigned int wpi::http_parser::flags

◆ header_state

unsigned int wpi::http_parser::header_state

◆ http_errno

unsigned int wpi::http_parser::http_errno

◆ http_major

unsigned short wpi::http_parser::http_major

READ-ONLY.

◆ http_minor

unsigned short wpi::http_parser::http_minor

◆ index

unsigned int wpi::http_parser::index

◆ lenient_http_headers

unsigned int wpi::http_parser::lenient_http_headers

◆ method

unsigned int wpi::http_parser::method

◆ nread

uint32_t wpi::http_parser::nread

◆ state

unsigned int wpi::http_parser::state

◆ status_code

unsigned int wpi::http_parser::status_code

◆ type

unsigned int wpi::http_parser::type

PRIVATE.

◆ upgrade

unsigned int wpi::http_parser::upgrade

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