The OpenD Programming Language

cef_resource_request_handler_t.get_resource_handler

Called on the IO thread before a resource is loaded. 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. To allow the resource to load using the default network loader return NULL. To specify a handler for the resource return a cef_resource_handler_t object. The |request| object cannot not be modified in this callback.

struct cef_resource_request_handler_t
extern (System)
cef_resource_handler_t* function(cef_resource_request_handler_t* self, cef_browser_t* browser, cef_frame_t* frame, cef_request_t* request) nothrow get_resource_handler;

Meta