• Server: Documents the core Fastify API. Includes documentation for the factory function and the object returned by the factory function.
    • : Explains the Fastify request lifecycle and illustrates where Hooks are available for integrating with it.
    • : Details how to register routes with Fastify and how Fastify builds and evaluates the routing trie.
    • Request: Details Fastify’s request object that is passed into each request handler.
    • : Details Fastify’s response object available to each request handler.
    • Validation and Serialization: Details Fastify’s support for validating incoming data and how Fastify serializes data for responses.
    • : Explains Fastify’s plugin architecture and API.
    • Decorators: Explains the server, request, and response decorator APIs.
    • : Details the API by which Fastify plugins can inject themselves into Fastify’s handling of the request lifecycle.

    Reference Documentation Table Of Contents

    This table of contents is in alphabetical order.

    • : Documents Fastify’s default content type parser and how to add support for new content types.
    • Decorators: Explains the server, request, and response decorator APIs.
    • : Explains a core concept upon which all Fastify plugins are built.
    • Errors: Details how Fastify handles errors and lists the standard set of errors Fastify generates.
    • : Details the API by which Fastify plugins can inject themselves into Fastify’s handling of the request lifecycle.
    • HTTP2: Details Fastify’s HTTP2 support.
    • : Details Fastify’s included logging and how to customize it.
    • Long Term Support: Explains Fastify’s long term support (LTS) guarantee and the exceptions possible to the contract.
    • Middleware: Details Fastify’s support for Express.js style middleware.
    • : Explains Fastify’s plugin architecture and API.
    • Reply: Details Fastify’s response object available to each request handler.
    • : Details Fastify’s request object that is passed into each request handler.
    • Routes: Details how to register routes with Fastify and how Fastify builds and evaluates the routing trie.
    • : Documents the core Fastify API. Includes documentation for the factory function and the object returned by the factory function.
    • Validation and Serialization: Details Fastify’s support for validating incoming data and how Fastify serializes data for responses.