mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-26 00:00:23 +02:00
Add Redirect response (#192)
* Add `Redirect` response * Add `Redirect::found`
This commit is contained in:
+4
-1
@@ -16,8 +16,11 @@ use tower::{util::Either, BoxError};
|
||||
#[doc(no_inline)]
|
||||
pub use crate::Json;
|
||||
|
||||
pub mod sse;
|
||||
mod redirect;
|
||||
|
||||
pub use self::redirect::Redirect;
|
||||
|
||||
pub mod sse;
|
||||
pub use sse::{sse, Sse};
|
||||
|
||||
/// Trait for generating responses.
|
||||
|
||||
Reference in New Issue
Block a user