DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
ChunkSend Struct Reference

#include <dwserver_internal.h>

Public Attributes

ChunkSource source
 body generator (active==false means none).
 
void * ctx
 caller state passed to source (must outlive the send).
 
int status
 response status, for note_response.
 
int total
 body bytes emitted so far (excludes framing).
 
bool keep
 keep-alive vs close at completion.
 
bool active
 a chunked response is in progress on this slot.
 
bool raw
 HTTP/1.0 client: stream the body unframed, close-delimited (no chunk wrapping).
 

Detailed Description

Definition at line 63 of file dwserver_internal.h.

Member Data Documentation

◆ source

ChunkSource ChunkSend::source

body generator (active==false means none).

Definition at line 65 of file dwserver_internal.h.

Referenced by DetWebServer::send_chunked().

◆ ctx

void* ChunkSend::ctx

caller state passed to source (must outlive the send).

Definition at line 66 of file dwserver_internal.h.

Referenced by DetWebServer::send_chunked().

◆ status

int ChunkSend::status

response status, for note_response.

Definition at line 67 of file dwserver_internal.h.

Referenced by DetWebServer::send_chunked().

◆ total

int ChunkSend::total

body bytes emitted so far (excludes framing).

Definition at line 68 of file dwserver_internal.h.

Referenced by DetWebServer::send_chunked().

◆ keep

bool ChunkSend::keep

keep-alive vs close at completion.

Definition at line 69 of file dwserver_internal.h.

Referenced by DetWebServer::send_chunked().

◆ active

bool ChunkSend::active

a chunked response is in progress on this slot.

Definition at line 70 of file dwserver_internal.h.

Referenced by DetWebServer::http_poll_slot(), and DetWebServer::send_chunked().

◆ raw

bool ChunkSend::raw

HTTP/1.0 client: stream the body unframed, close-delimited (no chunk wrapping).

Definition at line 71 of file dwserver_internal.h.

Referenced by DetWebServer::send_chunked().


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