http

API Reference

Structs

struct Request

The original request bytes plus request-line fields parsed by the caller.

struct Response

A numeric status and UTF-8 body for the built-in plain-text renderer.

struct RouteHandler

A zero-argument route callback that produces a plain-text response body.

struct RouteNode

Routes live in a region-allocated ('heap) chain: registration conses, dispatch walks, with no fixed slot count.

struct HttpServer

A blocking HTTP/1.1 server with exact-path GET routing.

struct HTTP

Namespace for HTTP server construction helpers.