Microchip® Advanced Software Framework

http_client_req Struct Reference

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_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().

char http_client_req::uri[HTTP_MAX_URI_LENGTH]

URI of this request.

Referenced by _http_client_request(), and http_client_send_request().