16 #ifndef MCL_HTTP_REQUEST_H_ 17 #define MCL_HTTP_REQUEST_H_ 138 #endif //MCL_HTTP_REQUEST_H_ MCL_CORE_EXPORT mcl_error_t mcl_http_request_initialize(mcl_http_request_t **http_request)
char * uri
Uri of http request.
Size of the body of the http request in bytes as mcl_size_t.
MCL_CORE_EXPORT mcl_error_t mcl_http_request_set_parameter(mcl_http_request_t *http_request, E_MCL_HTTP_REQUEST_PARAMETER parameter, const void *value)
mcl_size_t payload_size
Payload size of http request.
void * stream_data
Stream data.
E_MCL_HTTP_REQUEST_PARAMETER
MCL_CORE_EXPORT mcl_error_t mcl_http_request_add_header(mcl_http_request_t *http_request, const char *header_name, const char *header_value)
Url of the http request as char*.
List module interface header file.
E_MCL_HTTP_METHOD method
Http method of http request.
MCL_CORE_EXPORT void mcl_http_request_destroy(mcl_http_request_t **http_request)
Body of the http request as char*. HTTP Request neither copies the buffer, nor takes ownership...
mcl_size_t(* mcl_http_payload_callback)(char *buffer, mcl_size_t size, mcl_size_t count, void *user_context)
mcl_http_payload_callback stream_callback
Callback to be used with chunked Transfer-Encoding. If not used, it must be NULL. ...
mcl_uint8_t * payload
Payload of http request.
mcl_list_t * header
Header of http request.
Method of the http request as E_MCL_HTTP_METHOD.