ProtoCore v0.0.1
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
ChunkSend Struct Reference

#include <protocore_internal.h>

Public Attributes

ChunkSource source
 body generator (active==false means none).
 
voidctx
 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 75 of file protocore_internal.h.

Member Data Documentation

◆ source

ChunkSource ChunkSend::source

body generator (active==false means none).

Definition at line 77 of file protocore_internal.h.

Referenced by PC::send_chunked().

◆ ctx

void* ChunkSend::ctx

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

Definition at line 78 of file protocore_internal.h.

Referenced by PC::send_chunked().

◆ status

int ChunkSend::status

response status, for note_response.

Definition at line 79 of file protocore_internal.h.

Referenced by PC::send_chunked().

◆ total

int ChunkSend::total

body bytes emitted so far (excludes framing).

Definition at line 80 of file protocore_internal.h.

Referenced by PC::send_chunked().

◆ keep

bool ChunkSend::keep

keep-alive vs close at completion.

Definition at line 81 of file protocore_internal.h.

Referenced by PC::send_chunked().

◆ active

bool ChunkSend::active

a chunked response is in progress on this slot.

Definition at line 82 of file protocore_internal.h.

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

◆ raw

bool ChunkSend::raw

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

Definition at line 83 of file protocore_internal.h.

Referenced by PC::send_chunked().


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