Module webserver

Source
Expand description

Core HTTP server implementation handling SQL file execution and request processing.

For more general information about perfomance in sqlite, read our performance guide.

§Overview

The webserver module is responsible for:

  • Processing incoming HTTP requests
  • Executing SQL files
  • Streaming query results to clients
  • Managing database connections
  • Handling file uploads and static content

§Architecture

Key components:

Re-exports§

pub use database::Database;
pub use error_with_status::ErrorWithStatus;
pub use database::make_placeholder;
pub use database::migrations::apply;

Modules§

content_security_policy
database
error_with_status
http
This module handles HTTP requests and responses for the web server, including rendering SQL files, serving static content, and managing request contexts and response headers.
http_client
http_request_info
oidc
request_variables
response_writer
routing