Skip to main content

serve_axum

Function serve_axum 

Source
pub async fn serve_axum<S>(port: u16, state: S) -> Result<()>
Expand description

Start Axum HTTP server with combined v1 and v2 APIs

This serves both APIs at /v1/* and /v2/* from a single state implementation.