Struct iron_csrf::CsrfConfig [] [src]

pub struct CsrfConfig { /* fields omitted */ }

The configuation used to initialize CsrfProtectionMiddleware.

Methods

impl CsrfConfig
[src]

Create a new builder that is initialized with the default configuration.

Trait Implementations

impl Default for CsrfConfig
[src]

Returns the "default value" for a type. Read more