mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-24 00:00:16 +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:
@@ -10,9 +10,9 @@ use axum::{
|
||||
async_trait,
|
||||
body::{Bytes, Full},
|
||||
extract::{FromRequest, RequestParts, TypedHeader},
|
||||
handler::{get, post},
|
||||
http::{Response, StatusCode},
|
||||
response::IntoResponse,
|
||||
routing::{get, post},
|
||||
Json, Router,
|
||||
};
|
||||
use headers::{authorization::Bearer, Authorization};
|
||||
|
||||
Reference in New Issue
Block a user