Add http_buffer description

This commit is contained in:
Tuan PM 2018-07-16 10:37:06 +07:00 committed by bot
parent 5589954800
commit 2718a5f674

View File

@ -33,13 +33,17 @@
static const char *TAG = "HTTP_CLIENT"; static const char *TAG = "HTTP_CLIENT";
/**
* HTTP Buffer
*/
typedef struct { typedef struct {
char *data; char *data; /*!< The HTTP data received from the server */
int len; int len; /*!< The HTTP data len received from the server */
char *raw_data; char *raw_data; /*!< The HTTP data after decoding */
int raw_len; int raw_len; /*!< The HTTP data len after decoding */
char *output_ptr; char *output_ptr; /*!< The destination address of the data to be copied to after decoding */
} esp_http_buffer_t; } esp_http_buffer_t;
/** /**
* private HTTP Data structure * private HTTP Data structure
*/ */