Skip to main content

Crate blazingly_native

Crate blazingly_native 

Source
Expand description

Native HTTP/1 adapter for Blazingly.

The adapter deliberately contains every socket-runtime and wire-protocol dependency. The operation graph, router, DI, MCP, and documentation crates remain runtime-neutral. Tokio is not part of this crate’s dependency tree.

Structs§

MulticoreServer
Thread-per-core launcher with one compiled, non-Send app per worker.
Server
A native HTTP/1 server whose request execution remains thread-local.
ServerLimits
Wire-level resource limits for the native protocol adapters.
ShutdownHandle
Thread-safe trigger used to stop accepting connections.
ShutdownSignal
Future resolved when its paired ShutdownHandle is triggered.

Constants§

DEFAULT_MAX_BODY_BYTES
Default maximum request body accepted by the socket adapter.

Traits§

HttpMiddleware
Synchronous middleware interception points shared by every HTTP adapter.

Functions§

shutdown_channel
Creates one explicit graceful-shutdown channel.
termination_channel
Creates a graceful-shutdown channel triggered by process termination.