ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
presentation.h File Reference

Layer 6 (Presentation) - wires the transport ring buffer to the HTTP parser. More...

Go to the source code of this file.

Classes

struct  HttpHdrArgs
 RFC 9110 sec 5.6.1: a comma-separated header, and the token looked for in it. More...
 
struct  HttpConnVars
 
struct  HttpConnNs
 The entries. More...
 

Functions

void protocore_http_conn_reset (uint8_t *work)
 
void protocore_http_conn_conn_open (uint8_t *work)
 
void protocore_http_conn_parse (uint8_t *work)
 
void protocore_http_conn_keepalive_eval (uint8_t *work)
 
void protocore_http_conn_has_token (uint8_t *work)
 
void protocore_http_conn_proto_handler (uint8_t *work)
 
void protocore_http_conn_set_poll (uint8_t *work)
 
uint8_t * protocore_http_conn_span (void)
 The PROTOCORE_HTTP_CONN_BORROW bytes this module's state lives in.
 

Variables

HttpConnVars HttpConnV
 The operands and the outcome.
 

Detailed Description

Layer 6 (Presentation) - wires the transport ring buffer to the HTTP parser.

This layer owns two responsibilities:

  1. Hold HTTP's own per-slot state - the request tally, the request deadline, the response sink, and the h2/h3 fields - keyed on the transport slot index.
  2. Expose ::HttpConn, the calls the session layer dispatches through and the application layer drives by slot.

The parsing itself lives in http_parser.h, which this includes so callers need one include.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file presentation.h.

Function Documentation

◆ protocore_http_conn_reset()

void protocore_http_conn_reset ( uint8_t *  work)

◆ protocore_http_conn_conn_open()

void protocore_http_conn_conn_open ( uint8_t *  work)

◆ protocore_http_conn_parse()

void protocore_http_conn_parse ( uint8_t *  work)

◆ protocore_http_conn_keepalive_eval()

void protocore_http_conn_keepalive_eval ( uint8_t *  work)

◆ protocore_http_conn_has_token()

void protocore_http_conn_has_token ( uint8_t *  work)

◆ protocore_http_conn_proto_handler()

void protocore_http_conn_proto_handler ( uint8_t *  work)

◆ protocore_http_conn_set_poll()

void protocore_http_conn_set_poll ( uint8_t *  work)

◆ protocore_http_conn_span()

uint8_t * protocore_http_conn_span ( void  )

The PROTOCORE_HTTP_CONN_BORROW bytes this module's state lives in.

Stated beside the namespace rather than on it: an entry takes a borrow, and this is where that borrow comes from. Taken once from the end of the pool, which no mark and no release walks, so the state lasts the life of the program.

Returns
the span.

Variable Documentation

◆ HttpConnV

HttpConnVars HttpConnV
extern

The operands and the outcome.