cueOS  2.4
cueOS - Universal Show Control OS for ARM
http_request Struct Reference

HTTP request object. More...

#include <http_request.h>

Collaboration diagram for http_request:

Data Fields

char * raw_data
 
uint16_t raw_len
 
char * uri
 
char * content
 
http_method_e method
 
http_version_e http_version
 
uint8_t param_count
 
uint8_t retry_count
 
uint16_t content_length
 
router_fn router
 
http_param_sparams
 
http_response_sres
 

Detailed Description

HTTP request object.

Definition at line 44 of file http_request.h.

Field Documentation

◆ content

char* content

The requeste's content buffer

Definition at line 48 of file http_request.h.

◆ content_length

uint16_t content_length

Length of the request's content

Definition at line 53 of file http_request.h.

◆ http_version

http_version_e http_version

HTTP version conveyed in the HTTP request frame

Definition at line 50 of file http_request.h.

◆ method

http_method_e method

HTTP method conveyed in the HTTP request frame

Definition at line 49 of file http_request.h.

◆ param_count

uint8_t param_count

Counter for URI parameters

Definition at line 51 of file http_request.h.

◆ params

http_param_s* params

List of URI paramters

Definition at line 55 of file http_request.h.

◆ raw_data

char* raw_data

pointer to the raw data as forwarded by the TCP/IP stack

Definition at line 45 of file http_request.h.

◆ raw_len

uint16_t raw_len

Length of the raw data forwarded by the TCP/IP stack

Definition at line 46 of file http_request.h.

◆ res

POinter to HTTP response which should be processed within the router function

Definition at line 56 of file http_request.h.

◆ retry_count

uint8_t retry_count

Count for the number of retries for processing request

Definition at line 52 of file http_request.h.

◆ router

router_fn router

Function callback used to process request

Definition at line 54 of file http_request.h.

◆ uri

char* uri

The requested URI buffer

Definition at line 47 of file http_request.h.


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