[][src]Trait saphir::controller::RequestGuard

pub trait RequestGuard {
    fn validate(
        &self,
        req: &mut SyncRequest,
        res: &mut SyncResponse
    ) -> RequestContinuation; }

A trait to provide an other layer of validation before allowing a request into a controller

Required methods

Loading content...

Implementors

impl RequestGuard for BodyGuard
[src]

Loading content...