Enum webview2_sys::CookieSameSiteKind [−][src]
#[repr(u32)]
pub enum CookieSameSiteKind {
None,
Lax,
Strict,
}
Expand description
Kind of cookie SameSite status used in the ICoreWebView2Cookie interface. These fields match those as specified in https://developer.mozilla.org/docs/Web/HTTP/Cookies#. Learn more about SameSite cookies here: https://tools.ietf.org/html/draft-west-first-party-cookies-07
Variants
None SameSite type. No restrictions on cross-site requests.
Lax SameSite type. The cookie will be sent with “same-site” requests, and with “cross-site” top level navigation.
Strict SameSite type. The cookie will only be sent along with “same-site” requests.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CookieSameSiteKind
impl Send for CookieSameSiteKind
impl Sync for CookieSameSiteKind
impl Unpin for CookieSameSiteKind
impl UnwindSafe for CookieSameSiteKind
Blanket Implementations
Mutably borrows from an owned value. Read more