Struct saphir::MiddlewareStack
[−]
[src]
pub struct MiddlewareStack { /* fields omitted */ }
Methods
impl MiddlewareStack
[src]
pub fn new() -> Self
[src]
pub fn resolve(
&self,
req: &SyncRequest,
res: &mut Response<Body>
) -> RequestContinuation
[src]
&self,
req: &SyncRequest,
res: &mut Response<Body>
) -> RequestContinuation
pub fn apply<M: 'static + Middleware>(
&mut self,
m: M,
include_path: Vec<&str>,
exclude_path: Option<Vec<&str>>
)
[src]
&mut self,
m: M,
include_path: Vec<&str>,
exclude_path: Option<Vec<&str>>
)