oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
Loading...
Searching...
No Matches
Data Fields
ove_http_response_t Struct Reference

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
 

Detailed Description

HTTP response (returned by request functions).

Field Documentation

◆ status

int ove_http_response_t::status

HTTP status code (e.g. 200, 404).

◆ body

char* ove_http_response_t::body

Response body (heap-allocated, NUL-terminated).

◆ body_len

size_t ove_http_response_t::body_len

Body length in bytes (excluding NUL).

◆ headers

char* ove_http_response_t::headers

Raw response headers (heap-allocated).

◆ headers_len

size_t ove_http_response_t::headers_len

Headers length in bytes.


The documentation for this struct was generated from the following file: