Structure of the HTTP_CLIENT_CALLBACK_RECV_RESPONSE callback.
#include <http_client.h>
Data Fields | |
char * | content |
Content buffer. More... | |
uint32_t | content_length |
Length of entity. More... | |
uint8_t | is_chunked |
If this flag is set to zero, This data is used chunked encoding. More... | |
uint8_t | response_code |
Response code of HTTP request. More... | |
uint16_t | response_code |
Response code of HTTP request. More... | |
char * http_client_data_recv_response::content |
Content buffer.
If this value is equal to zero, it means This data is too big compared with the receive buffer. In this situation, Data will be transmitted through HTTP_CLIENT_CALLBACK_RECV_CHUNKED_DATA callback.
Referenced by _http_client_handle_entity(), _http_client_handle_header(), and http_client_callback().
uint32_t http_client_data_recv_response::content_length |
Length of entity.
Referenced by _http_client_handle_entity(), _http_client_handle_header(), and http_client_callback().
uint8_t http_client_data_recv_response::is_chunked |
If this flag is set to zero, This data is used chunked encoding.
Referenced by _http_client_handle_entity(), and _http_client_handle_header().
uint8_t http_client_data_recv_response::response_code |
Response code of HTTP request.
Refer to following link. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
Referenced by _http_client_handle_entity(), _http_client_handle_header(), and http_client_callback().
uint16_t http_client_data_recv_response::response_code |
Response code of HTTP request.
Refer to following link. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html