mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-26 00:00:23 +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:
@@ -11,9 +11,9 @@ use axum::{
|
||||
async_trait,
|
||||
body::{Bytes, Empty},
|
||||
extract::{Extension, FromRequest, Query, RequestParts, TypedHeader},
|
||||
handler::get,
|
||||
http::{header::SET_COOKIE, HeaderMap, Response},
|
||||
response::{IntoResponse, Redirect},
|
||||
routing::get,
|
||||
AddExtensionLayer, Router,
|
||||
};
|
||||
use oauth2::{
|
||||
|
||||
Reference in New Issue
Block a user