![]() |
cueOS
2.4
cueOS - Universal Show Control OS for ARM
|
HTTP request object. More...
#include <http_request.h>
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_s * | params |
http_response_s * | res |
HTTP request object.
Definition at line 44 of file http_request.h.
char* content |
The requeste's content buffer
Definition at line 48 of file http_request.h.
uint16_t content_length |
Length of the request's content
Definition at line 53 of file http_request.h.
http_version_e http_version |
HTTP version conveyed in the HTTP request frame
Definition at line 50 of file http_request.h.
http_method_e method |
HTTP method conveyed in the HTTP request frame
Definition at line 49 of file http_request.h.
uint8_t param_count |
Counter for URI parameters
Definition at line 51 of file http_request.h.
http_param_s* params |
List of URI paramters
Definition at line 55 of file http_request.h.
char* raw_data |
pointer to the raw data as forwarded by the TCP/IP stack
Definition at line 45 of file http_request.h.
uint16_t raw_len |
Length of the raw data forwarded by the TCP/IP stack
Definition at line 46 of file http_request.h.
http_response_s* res |
POinter to HTTP response which should be processed within the router function
Definition at line 56 of file http_request.h.
uint8_t retry_count |
Count for the number of retries for processing request
Definition at line 52 of file http_request.h.
router_fn router |
Function callback used to process request
Definition at line 54 of file http_request.h.
char* uri |
The requested URI buffer
Definition at line 47 of file http_request.h.