Skip to main content

cef_set_cookie_callback_t

Type Alias cef_set_cookie_callback_t 

Source
pub type cef_set_cookie_callback_t = _cef_set_cookie_callback_t;
Expand description

Structure to implement to be notified of asynchronous completion via cef_cookie_manager_t::set_cookie().

NOTE: This struct is allocated client-side.

Aliased Type§

#[repr(C)]
pub struct cef_set_cookie_callback_t { pub base: _cef_base_ref_counted_t, pub on_complete: Option<unsafe extern "C" fn(*mut _cef_set_cookie_callback_t, i32)>, }

Fields§

§base: _cef_base_ref_counted_t

Base structure.

§on_complete: Option<unsafe extern "C" fn(*mut _cef_set_cookie_callback_t, i32)>

Method that will be called upon completion. |success| will be true (1) if the cookie was set successfully.