Struct iron_csrf::CsrfProtectionMiddleware [] [src]

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

An implementation of iron::Middleware that provides transparent wrapping of an application with CSRF protection.

Methods

impl<P: CsrfProtection + Sized + 'static> CsrfProtectionMiddleware<P>
[src]

Trait Implementations

impl<P: CsrfProtection + Sized + 'static> AroundMiddleware for CsrfProtectionMiddleware<P>
[src]

Produce a Handler from this AroundMiddleware given another Handler. Read more