Make type alias http::Module public

Easier for 3rd party to implement the trait.
This commit is contained in:
Yuchen Wu 2024-06-20 15:07:52 -07:00 committed by Edward Wang
parent f9148430db
commit 1176af300b
2 changed files with 2 additions and 2 deletions

2
.bleep
View file

@ -1 +1 @@
27bf4df19b465281ddc2d348ed6f3f0402fa60cc
0195d63b6a8053fa3cf702f670b06067ae81bf6a

View file

@ -65,7 +65,7 @@ pub trait HttpModule {
fn as_any_mut(&mut self) -> &mut dyn Any;
}
type Module = Box<dyn HttpModule + 'static + Send + Sync>;
pub type Module = Box<dyn HttpModule + 'static + Send + Sync>;
/// Trait to init the http module ctx for each request
pub trait HttpModuleBuilder {