Handlers and HTTP
Handlers are classes that process a web request and return a response. They implement the necessary logic allowing to return this response, which can involve processing form data for example.
Guides
Introduction
Learn how to define handlers and respond to HTTP requests.
Routing
Learn how to map handlers to routes.
Generic handlers
Learn how to leverage generic handlers to perform common tasks.
Error handlers
Learn about the built-in error handlers and how to configure them.
Sessions
Learn how to use sessions to persist data between requests.
Cookies
Learn how to use cookies to persist data on the client.
Callbacks
Learn how to define handler callbacks.
Middlewares
Learn how to leverage middlewares to alter HTTP requests and responses.
How-to's
Customize handler template contexts
How to customize handler template contexts.
Create custom route parameters
How to create custom route parameters.