mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-30 04:02:42 +01:00
8 lines
183 B
Rust
8 lines
183 B
Rust
|
use axum::{body::Body, extract::Extension, http::Request};
|
||
|
use axum_macros::debug_handler;
|
||
|
|
||
|
#[debug_handler]
|
||
|
async fn handler(_: Request<Body>, _: Extension<String>) {}
|
||
|
|
||
|
fn main() {}
|