Skip to main content

Module app

Module app 

Source
Expand description

Application module — HTTP server, routing, and request handling.

Ties together all lower-level modules (api_request, plan, query, auth, schema_cache) into a running HTTP server powered by axum.

Re-exports§

pub use builder::Datasource;
pub use builder::DbrestApp;
pub use builder::DbrestRouters;
pub use router::create_router;
pub use server::start_server;
pub use state::AppState;

Modules§

admin
Admin server
builder
DbrestApp — fluent builder for constructing a dbrest router.
handlers
HTTP request handlers
router
Request routing
server
HTTP server setup and lifecycle
state
Application state shared across all handlers.
streaming
Streaming response support