Skip to content

API Reference

This section contains the complete API reference for Xitzin, automatically generated from the source code.

Core Modules

  • Application


    The main Xitzin class and application lifecycle.

  • Requests


    Request handling and state management.

  • Responses


    Response types: Response, Input, Redirect.

  • Routing


    Route definition and path parameter extraction.

  • Tasks


    Background task scheduling with intervals and cron.

  • CGI


    CGI script execution and configuration.

  • Exceptions


    Exception hierarchy for Gemini status codes.

  • Middleware


    Middleware base class and built-in implementations.

  • Authentication


    Certificate authentication decorators and helpers.

  • Templating


    Jinja2-based template engine for Gemtext.

  • Testing


    Test client for in-memory testing.