21#ifndef DETERMINISTICESPASYNCWEBSERVER_PRESENTATION_H
22#define DETERMINISTICESPASYNCWEBSERVER_PRESENTATION_H
24#include "../transport/tcp.h"
41#if DETWS_ENABLE_KEEPALIVE
100#if DETWS_ENABLE_EDGE_CACHE
110void detws_http_set_edge_poll(
bool (*fn)(uint8_t slot));
#define MAX_CONNS
Maximum simultaneous TCP connections (fixed static pool; ~3.95 KB of internal RAM per slot).
Standalone HTTP/1.1 request parser - no transport dependency.
void http_reset(uint8_t slot_id)
Reset the HTTP parser for a connection slot.
void http_proto_set_poll(void(*fn)(uint8_t slot))
Install the HTTP per-slot poll pump (the routing core's instance-bound on_poll).
void http_parse(uint8_t slot_id)
Drain the transport ring buffer and advance the HTTP parser.
void http_conn_open(uint8_t slot_id)
Initialize a slot for a freshly-accepted HTTP connection.
const struct ProtoHandler * http_proto_handler(void)
Per-protocol connection event/poll callbacks (Layer 5 dispatch vtable).