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: usizeSize of this structure.
name: _cef_string_utf16_tThe cookie name.
value: _cef_string_utf16_tThe cookie value.
domain: _cef_string_utf16_tIf |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_tIf |path| is non-empty only URLs at or below the path will get the cookie value.
secure: i32If |secure| is true the cookie will only be sent for HTTPS requests.
httponly: i32If |httponly| is true the cookie will only be sent for HTTP requests.
creation: _cef_basetime_tThe cookie creation date. This is automatically populated by the system on cookie creation.
last_access: _cef_basetime_tThe cookie last access date. This is automatically populated by the system on access.
has_expires: i32The cookie expiration date is only valid if |has_expires| is true.
expires: _cef_basetime_t§same_site: cef_cookie_same_site_tSame site.
priority: cef_cookie_priority_tPriority.