HTTP structure containing the fields required for response header and body.
Data Fields | |
uint16_t | status_code |
Standard HTTP response status code. | |
uint8_t * | buffer |
Pointer to the buffer containing the HTTP response. More... | |
size_t | buffer_len |
Length of the buffer in bytes. | |
const uint8_t * | header |
The starting location of the response headers in the buffer. | |
size_t | headers_len |
Byte length of the response headers in the buffer. | |
size_t | header_count |
Count of the headers sent by the server. | |
const uint8_t * | body |
The starting location of the response body in the buffer. | |
size_t | body_len |
Byte length of the body in the buffer. | |
size_t | content_len |
The value in the "Content-Length" header is updated here. | |
uint8_t* cy_http_client_response_t::buffer |
Pointer to the buffer containing the HTTP response.
This buffer is the same as the buffer provided in cy_http_client_request_header_t.