API Reference Francis v#0.3.3

View Source

Modules

Module responsible for starting the Francis server and to wrap the Plug functionality

Generates simple HTML error pages for common HTTP error responses.

Utilities for safe HTML handling.

A plug that sets the Content-Security-Policy (CSP) header.

Module that imports required macros from Francis and Plug.Router

A plug that sets common security-related HTTP headers.

A module providing functions to handle HTTP responses in a Plug application.

Helper functions for Server-Sent Events (SSE) handlers generated by the Francis.sse/3 macro.

Utilities for working with static assets.

Watcher mode for development that checks modified time of your files and recompiles them

Helper functions for WebSocket handlers generated by the Francis.ws/3 macro.

Mix Tasks

Digests and compresses static files for production deployment.

Generates a new Francis project. This task creates a new directory with the specified application name and a basic project structure.

Generates Docker deployment files for Francis projects.

Starts the Francis server.