Crate ctb_io_webui

Crate ctb_io_webui 

Source
Expand description

WebUI service manager and embedded HTTP server lifecycle driver.

Modules§

controllers
error
Anyhow error handling support for Axum.
extractors
Request extractors and parameter parsers for WebUI endpoints.
flexible_form
Axum extractor that can handle both application/x-www-form-urlencoded and multipart/form-data content types, using axum::Form and axum_typed_multipart::TypedMultipart internally.
middleware
routes
Defines the web routes for the application.
server
HTTP/HTTPS web application server and router initialization.
session_auth
Session-based authentication and user authorization middleware.
tls_rustls_vendored
Tls implementation using [rustls]. Vendored with changes from https://github.com/programatik29/axum-server/blob/master/src/tls_rustls/mod.rs
webview
Native desktop webview embedding and window integration.

Macros§

get_user
get_user_and_graph

Structs§

AppState
OriginalMarkdown
Extension payload holding the original source markdown bytes for pages generated from Markdown assets.

Traits§

ViewContext
Trait for types that can serve as a context for a Handlebars view.

Functions§

start_webui