Skip to main content

Module server

Module server 

Source
Expand description

HTTP server implementation using Tokio and Axum

This module provides the main server builder and routing infrastructure, with focused submodules for handler validation, request extraction, and lifecycle execution.

Modules§

fast_router
Fast-path HashMap router for static responses.
grpc_routing
gRPC request routing and multiplexing
handler
ValidatingHandler wrapper that executes request/parameter validation before handler
lifecycle_execution
Lifecycle hooks execution logic
request_extraction
Request parsing and data extraction utilities

Structs§

Server
HTTP Server

Functions§

build_router_with_handlers
Build an Axum router from routes and foreign handlers
build_router_with_handlers_and_config
Build router with handlers and apply middleware based on config