API Reference
Primate's application APIs cover route handling, request and response helpers, runtime services, framework configuration, testing, and data stores.
- Route — Define route handlers, validation, hooks, and typed browser endpoint clients.
- Request — Read request data, forward requests, and use request-scoped context.
- Response — Create page, JSON, text, redirect, and streaming responses.
- Session — Configure and access persisted application sessions.
- I18N — Configure locales and translate messages on the server and client.
- Navigate — Perform browser navigation and inspect its results.
- Events — Subscribe to browser lifecycle and navigation events.
- Test Application — Build an application test harness and make in-process requests.
- Configuration — Define application configuration and runtime settings.
- Module — Create modules and register lifecycle hooks.
- App Facade — Use the application runtime facade available to modules.
- Store — Define database-backed records, relations, and queries.
See the primate changelog for package release history.
Next
Route