Skip to content

API reference

Generated from the published type declarations. Every page reflects the real surface; the guides teach, this reference answers “what exactly can I pass here?”

  • Host FlareHost, services, dependency injection, and host extensions.
  • HTTP The HTTP arc: routing, middleware, contracts, requests, and responses.
  • WebSockets The WebSocket arc: routes, messages, channels, and connection state.
  • Runtimes Adapters and apps for Node, Bun, Deno, and Cloudflare Workers.
  • Durable Objects Durable Object classes, addressing, durable state, and test fakes.
  • Config Config tokens and the host and logging configuration shapes.
  • State Request-state tokens and typed state access.
  • Logging The logger, transports, log records, and error context.
  • Errors FlareError, error codes, categories, and validation errors.
  • Testing The in-process test harness, mocks, and build inspection.
  • Schema Schema primitives, models, parsing, and serialization.

Last updated: