|
DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
CloudEvents v1.0 (CNCF) event envelope - structured JSON build + binary (ce-* header) read. Zero-heap; builds on the JSON writer. More...
#include "ServerConfig.h"Go to the source code of this file.
CloudEvents v1.0 (CNCF) event envelope - structured JSON build + binary (ce-* header) read. Zero-heap; builds on the JSON writer.
CloudEvents is the application-layer metadata envelope that makes a device's events interoperable with serverless / event-mesh consumers. Two content modes:
application/cloudevents+json body; build it with cloudevents_build_json() into a caller buffer.ce-* HTTP headers and the payload is the body; read an inbound binary event with cloudevents_from_headers().Emit a binary event from a handler by adding the ce-id / ce-source / ce-type / ce-specversion response headers yourself (and the data as the body)
Definition in file cloudevents.h.