Reference

Complete API details for every part of the Stario ecosystem.

Core

  • Handlers: Signature, request data, and responses.
  • Context: The unified interface for every request.
  • Writer: Sending one-shot and streaming data.
  • Routing: Path matching, sub-routers, and middleware.
  • Datastar: Reactive attributes and actions.

Building Content

Performance & Scaling

  • Relay: In-process pub/sub for real-time syncing.
  • Server: Running, workers, and graceful shutdown.
  • Compression: Zstd, Brotli, and Gzip selection.

Diagnostics

  • Telemetry: Trace-based logging and spans.
  • Testing: Mock requests and response recorders.
  • Exceptions: HttpException and internal errors.
  • Toys: Rapid prototyping utilities.