Struct iron_csrf::CsrfProtectionMiddleware [] [src]

pub struct CsrfProtectionMiddleware<T: CsrfProtection> { /* fields omitted */ }

Methods

impl<T: CsrfProtection> CsrfProtectionMiddleware<T>
[src]

Trait Implementations

impl<T: CsrfProtection + 'static> BeforeMiddleware for CsrfProtectionMiddleware<T>
[src]

Do whatever work this middleware should do with a Request object.

Respond to an error thrown by a previous BeforeMiddleware. Read more