mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-27 00:00:24 +02:00
Reorganize method routers for handlers and services (#405)
* Re-organize method routing for handlers * Re-organize method routing for services * changelog
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
|
||||
use axum::{
|
||||
body::Bytes,
|
||||
handler::get,
|
||||
http::{HeaderMap, Request, Response},
|
||||
response::Html,
|
||||
routing::get,
|
||||
Router,
|
||||
};
|
||||
use std::{net::SocketAddr, time::Duration};
|
||||
|
||||
Reference in New Issue
Block a user