Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
http_response_ctx Struct Reference

HTTP response context. More...

#include <server.h>

Data Fields

enum http_status status
 
const struct http_headerheaders
 HTTP status code to include in response.
 
size_t header_count
 Array of HTTP headers.
 
const uint8_tbody
 Length of headers array.
 
size_t body_len
 Pointer to body data.
 
bool final_chunk
 Length of body data.
 

Detailed Description

HTTP response context.

Field Documentation

◆ body

const uint8_t* http_response_ctx::body

Length of headers array.

◆ body_len

size_t http_response_ctx::body_len

Pointer to body data.

◆ final_chunk

bool http_response_ctx::final_chunk

Length of body data.

◆ header_count

size_t http_response_ctx::header_count

Array of HTTP headers.

◆ headers

const struct http_header* http_response_ctx::headers

HTTP status code to include in response.

◆ status

enum http_status http_response_ctx::status

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