mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-08 00:00:24 +02:00
Add constructor to Sse (#244)
I think this is more consistent with the rest of the API
This commit is contained in:
+1
-5
@@ -21,11 +21,7 @@ pub mod sse;
|
||||
pub use crate::Json;
|
||||
|
||||
#[doc(inline)]
|
||||
pub use self::{
|
||||
headers::Headers,
|
||||
redirect::Redirect,
|
||||
sse::{sse, Sse},
|
||||
};
|
||||
pub use self::{headers::Headers, redirect::Redirect, sse::Sse};
|
||||
|
||||
/// Trait for generating responses.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user