mcl_http_request_t Struct Reference

#include <mcl_core/include/mcl_core/mcl_http_request.h>

Collaboration diagram for mcl_http_request_t:
Collaboration graph

Data Fields

mcl_list_theader
 Header of http request. More...
 
mcl_uint8_tpayload
 Payload of http request. More...
 
mcl_size_t payload_size
 Payload size of http request. More...
 
E_MCL_HTTP_METHOD method
 Http method of http request. More...
 
char * uri
 Uri of http request. More...
 
mcl_http_payload_callback stream_callback
 Callback to be used with chunked Transfer-Encoding. If not used, it must be NULL. More...
 
void * stream_data
 Stream data. More...
 

Detailed Description

HTTP request handle.

Definition at line 71 of file mcl_http_request.h.

Field Documentation

mcl_list_t* mcl_http_request_t::header

Header of http request.

Definition at line 73 of file mcl_http_request.h.

Referenced by _set_request_options(), mcl_http_client_send(), and mcl_http_request_add_header().

E_MCL_HTTP_METHOD mcl_http_request_t::method

Http method of http request.

Definition at line 76 of file mcl_http_request.h.

Referenced by _set_request_options(), mcl_http_client_send(), mcl_http_request_set_parameter(), and start_http().

mcl_uint8_t* mcl_http_request_t::payload
mcl_size_t mcl_http_request_t::payload_size
mcl_http_payload_callback mcl_http_request_t::stream_callback

Callback to be used with chunked Transfer-Encoding. If not used, it must be NULL.

Definition at line 78 of file mcl_http_request.h.

Referenced by _set_payload_options(), _set_request_options(), mcl_http_client_send(), and mcl_http_request_set_parameter().

void* mcl_http_request_t::stream_data
char* mcl_http_request_t::uri

Uri of http request.

Definition at line 77 of file mcl_http_request.h.

Referenced by _set_request_options(), mcl_http_client_send(), mcl_http_request_set_parameter(), and start_http().


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