cef_request_context_handler_t.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

More...
struct cef_request_context_handler_t
extern (System)
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;

Detailed Description

cef resource request handler t

:GetResourceHandler or it will be canceled. To allow the resource load to proceed with default handling return NULL. To specify a handler for the resource return a cef_resource_request_handler_t object. This function will not be called if the client associated with |browser| returns a non-NULL value from

cef request handler t

:GetResourceRequestHandler for the same request (identified by cef_request_t::GetIdentifier).

Meta