|
Zephyr Project API 4.1.0
A Scalable Open Source RTOS
|
HTTP response context. More...
#include <server.h>
Data Fields | |
| enum http_status | status |
| HTTP status code to include in response. | |
| const struct http_header * | headers |
| Array of HTTP headers. | |
| size_t | header_count |
| Length of headers array. | |
| const uint8_t * | body |
| Pointer to body data. | |
| size_t | body_len |
| Length of body data. | |
| bool | final_chunk |
| Flag set to true when the application has no more data to send. | |
HTTP response context.
| const uint8_t* http_response_ctx::body |
Pointer to body data.
| size_t http_response_ctx::body_len |
Length of body data.
| bool http_response_ctx::final_chunk |
Flag set to true when the application has no more data to send.
| size_t http_response_ctx::header_count |
Length of headers array.
| const struct http_header* http_response_ctx::headers |
Array of HTTP headers.
| enum http_status http_response_ctx::status |
HTTP status code to include in response.