Skip to content

Guide

The guide explains every feature of the core patera package. Each page can be read on its own; read them in order for a complete tour.

Fundamentals

HTTP

  • Controllers and routing: endpoints, route parameters, validation and hooks.
  • Requests: headers, bodies, forms, files and request context.
  • Responses: JSON, templates, streaming, files, cookies and response models.
  • Exception handling: handler classes and default error responses.
  • Middleware: wrap the request chain.
  • CORS: cross-origin settings, globally and per endpoint.
  • WebSockets: socket endpoints in controllers.

Content

Operations

Building on Patera