Rust

same_site

Module

The SameSite values of a cookie.

Contents

Rust
pub const LAX: &str = "Lax"

Lax: sent with same-site requests and top-level navigations.

Rust
pub const NONE: &str = "None"

None: sent with cross-site requests.

Rust
pub const STRICT: &str = "Strict"

Strict: sent with same-site requests only.