Skip to documentation
SLOP

tiny.http

Reference tiny.http

Overview · API · Code relationships · Verification · Audit

Overview

Http parses and writes HTTP/1.1 requests and responses and WebSocket frames, and routes requests to handlers. Callers set storage limits and provide parsing storage, and parsing reports that more input is needed when a request is incomplete.

Parsed request method, path, header names, and header values borrow slices of the input bytes, while header entry records themselves are placed in caller-provided header storage. A body with a fixed length borrows input bytes. For a chunked request, the input parameter is immutable: the parser reads the input, removes the framing, and writes decoded chunked-body bytes into a separate caller-provided body buffer. Client response headers and body are stored in caller-provided response storage and borrow that storage.

Returned slices are valid while their backing storage remains alive and unchanged, so callers copy values they retain across overwrite or storage reuse.

Definitions

Actions

Public operations.

Types and contracts

Public types and contracts.

Namespaces

Public namespaces.

Values and defaults

Public values and defaults.

Code relationships

Direct static dependencies extracted from parsed source by semantic graph analysis.

Uses: tiny.alloc, tiny.bench, tiny.hypothesis, tiny.sdfii, tiny.simd, tiny.sys
Used by: tiny.accy, tiny.pluck, tiny.profiling, tiny.smg, tiny.tldr, tiny.windowing

Verification

No verification records are cataloged for this module in this build.

Audit

EvidenceValue
Sourcelib/http/src/root.zig
Definitions2 of 84 documented
Members0 of 0 documented
Public names87 API, 331 indexed
Version26.7.0
Revisiondaab053ee433