Skip to main content

Crate blazingly_http

Crate blazingly_http 

Source

Structs§

BackgroundTasks
A request-scoped handle for scheduling work that runs after the response.
ConnectionInfo
Normalized transport values readable by a handler extractor.
HttpApp
An owned, runtime-neutral HTTP application compiled from the operation graph.
HttpError
The failure an application error handler is asked to rewrite.
HttpRequestContext
Mutable, request-local context shared by runtime-neutral HTTP middleware.
MiddlewareScope
Selects the requests one registered middleware layer observes.
Request
A runtime-neutral HTTP request.
Response
A runtime-neutral HTTP response.
RouteMatch
A compiled route match with its direct operation slot and path captures.
Router
A runtime-neutral router compiled once from the operation graph.
TestApp
An in-memory borrowed HTTP adapter over the shared executable operation graph.

Enums§

CollectBodyError
Failure while deliberately buffering an HTTP response stream.
HttpErrorSource
Where a failure response produced by dispatch came from.
RouteError
A router miss that distinguishes an unknown path from a wrong method.

Constants§

DEFAULT_MAX_BODY_BYTES
EMIT_VARIABLE
Environment variable that turns server construction into a print-and-exit introspection run. See HttpApp::new for the contract.

Traits§

HttpErrorHandler
Application-level rewriting of failure responses.
HttpMiddleware
Synchronous middleware interception points shared by every HTTP adapter.
HttpRequestView
Borrowed request access used by in-memory and native HTTP adapters.