|
oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
|
HTTP response (returned by request functions). More...
#include <net_http.h>
Data Fields | |
| int | status |
| char * | body |
| size_t | body_len |
| char * | headers |
| size_t | headers_len |
HTTP response (returned by request functions).
| int ove_http_response_t::status |
HTTP status code (e.g. 200, 404).
| char* ove_http_response_t::body |
Response body (heap-allocated, NUL-terminated).
| size_t ove_http_response_t::body_len |
Body length in bytes (excluding NUL).
| char* ove_http_response_t::headers |
Raw response headers (heap-allocated).
| size_t ove_http_response_t::headers_len |
Headers length in bytes.