Skip to main content

Module http

Module http 

Source
Expand description

HTTP layer for Boardwalk. Hosts the runtime (Core) and exposes it as an axum Router that emits Siren over HTTP.

Structs§

Core
Runtime owned by the HTTP layer (and reused by the peer tunnel handler). Holds the registered devices and the event bus.
CoreBuilder
Builder used by boardwalk-server. Devices are held un-Mutex’d until build() so on_start can be called with &self.
DeviceHandle
One registered device. The runtime owns the device behind a lock so transitions can mutate state safely.
DeviceProxy
Handle on a specific device that an app can read, transition, and inspect.
PeerStreamHub
ScoutCtx
Handle handed to each scout.
ServerHandle

Traits§

App
PeerSenders
Cloud-side handle into the live HTTP/2 sender for each connected peer. The runtime (boardwalk-peer) implements this; the HTTP router uses it to forward /servers/{peer-name}/... requests through the established tunnel.
Scout
A scout discovers devices over a protocol (mDNS, USB, Bluetooth, etc.) and registers them with the running server.

Functions§

router

Type Aliases§

AppError