Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
HTTP response context. More...
#include <server.h>
Data Fields | |
enum http_status | status |
const struct http_header * | headers |
HTTP status code to include in response. | |
size_t | header_count |
Array of HTTP headers. | |
const uint8_t * | body |
Length of headers array. | |
size_t | body_len |
Pointer to body data. | |
bool | final_chunk |
Length of body data. | |
HTTP response context.
const uint8_t* http_response_ctx::body |
Length of headers array.
size_t http_response_ctx::body_len |
Pointer to body data.
bool http_response_ctx::final_chunk |
Length of body data.
size_t http_response_ctx::header_count |
Array of HTTP headers.
const struct http_header* http_response_ctx::headers |
HTTP status code to include in response.
enum http_status http_response_ctx::status |