HTTP client request instance.
#include <http_client.h>
Data Fields | |
int | content_length |
Content-Length of this request. More... | |
struct http_entity | entity |
Entity of this request. More... | |
char * | ext_header |
Extension header of the HTTP request. More... | |
enum http_method | method |
Method of this request. More... | |
int | sent_length |
The size of the data sent. More... | |
uint32_t | state |
Status of request. More... | |
char | uri [HTTP_MAX_URI_LENGTH] |
URI of this request. More... | |
int http_client_req::content_length |
Content-Length of this request.
Referenced by _http_client_handle_header(), and _http_client_request().
struct http_entity http_client_req::entity |
Entity of this request.
Referenced by _http_client_clear_conn(), _http_client_request(), and http_client_send_request().
char * http_client_req::ext_header |
Extension header of the HTTP request.
It is located in the heap memory. Use of a little size of the extension header can be caused memory fragmentation.
Referenced by _http_client_request(), http_client_deinit(), and http_client_send_request().
enum http_method http_client_req::method |
Method of this request.
Referenced by _http_client_request(), and http_client_send_request().
int http_client_req::sent_length |
The size of the data sent.
Referenced by _http_client_request().
uint32_t http_client_req::state |
Status of request.
Referenced by _http_client_clear_conn(), _http_client_request(), _http_client_send_wait(), http_client_close(), http_client_init(), http_client_send_request(), http_client_socket_event_handler(), and http_client_socket_resolve_handler().
char http_client_req::uri |
URI of this request.
Referenced by _http_client_request(), and http_client_send_request().