cef_request_context_handler_t

Implement this structure to provide handler implementations. The handler instance will not be released until all objects related to the context have been destroyed.

version(cef && embedded_cef_bindings)
extern (C)
struct cef_request_context_handler_t {
extern (System)
void function(cef_request_context_handler_t* self, cef_request_context_t* request_context) nothrow on_request_context_initialized;
}

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_resource_request_handler
cef_resource_request_handler_t* function(cef_request_context_handler_t* self, cef_browser_t* browser, cef_frame_t* frame, cef_request_t* request, int is_navigation, int is_download, const(cef_string_t)* request_initiator, int* disable_default_handling) nothrow get_resource_request_handler;

initiated. The |browser| and |frame| values represent the source of the request, and may be NULL for requests originating from service workers or cef_urlrequest_t. |request| represents the request contents and cannot be modified in this callback. |is_navigation| will be true (1) if the resource request is a navigation. |is_download| will be true (1) if the resource request is a download. |request_initiator| is the origin (scheme + domain) of the page that initiated the request. Set |disable_default_handling| to true (1) to disable default handling of the request, in which case it will need to be handled via

Meta