pub trait HtmxHandler<S> {
// Required method
fn axum_router(self) -> (&'static str, MethodRouter<S>);
}
Expand description
The trait expected by the Router to add HTMX routes.
pub trait HtmxHandler<S> {
// Required method
fn axum_router(self) -> (&'static str, MethodRouter<S>);
}
The trait expected by the Router to add HTMX routes.