cef_resolve_callback_t

Type Alias cef_resolve_callback_t 

Source
pub type cef_resolve_callback_t = _cef_resolve_callback_t;
Expand description

Callback structure for cef_request_context_t::ResolveHost.

NOTE: This struct is allocated client-side.

Aliased Type§

#[repr(C)]
pub struct cef_resolve_callback_t { pub base: _cef_base_ref_counted_t, pub on_resolve_completed: Option<unsafe extern "C" fn(*mut _cef_resolve_callback_t, cef_errorcode_t, *mut _cef_string_list_t)>, }

Fields§

§base: _cef_base_ref_counted_t

Base structure.

§on_resolve_completed: Option<unsafe extern "C" fn(*mut _cef_resolve_callback_t, cef_errorcode_t, *mut _cef_string_list_t)>

Called on the UI thread after the ResolveHost request has completed. |result| will be the result code. |resolved_ips| will be the list of resolved IP addresses or NULL if the resolution failed.