getResourceHandler

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

Return

A CefResourceHandler instance or null.

Parameters

browser

The corresponding browser.

frame

The frame generating the event. Instance only valid within the scope of this method.

request

The request itself. Cannot be modified in this callback. Instance only valid within the scope of this method.