cef_cookie_t

Type Alias cef_cookie_t 

Source
pub type cef_cookie_t = _cef_cookie_t;
Expand description

Cookie information.

Aliased Type§

#[repr(C)]
pub struct cef_cookie_t {
Show 13 fields pub size: usize, pub name: _cef_string_utf16_t, pub value: _cef_string_utf16_t, pub domain: _cef_string_utf16_t, pub path: _cef_string_utf16_t, pub secure: i32, pub httponly: i32, pub creation: _cef_basetime_t, pub last_access: _cef_basetime_t, pub has_expires: i32, pub expires: _cef_basetime_t, pub same_site: cef_cookie_same_site_t, pub priority: cef_cookie_priority_t,
}

Fields§

§size: usize

Size of this structure.

§name: _cef_string_utf16_t

The cookie name.

§value: _cef_string_utf16_t

The cookie value.

§domain: _cef_string_utf16_t

If |domain| is empty a host cookie will be created instead of a domain cookie. Domain cookies are stored with a leading “.” and are visible to sub-domains whereas host cookies are not.

§path: _cef_string_utf16_t

If |path| is non-empty only URLs at or below the path will get the cookie value.

§secure: i32

If |secure| is true the cookie will only be sent for HTTPS requests.

§httponly: i32

If |httponly| is true the cookie will only be sent for HTTP requests.

§creation: _cef_basetime_t

The cookie creation date. This is automatically populated by the system on cookie creation.

§last_access: _cef_basetime_t

The cookie last access date. This is automatically populated by the system on access.

§has_expires: i32

The cookie expiration date is only valid if |has_expires| is true.

§expires: _cef_basetime_t§same_site: cef_cookie_same_site_t

Same site.

§priority: cef_cookie_priority_t

Priority.