create

abstract fun create(browser: CefBrowser, frame: CefFrame, schemeName: String, request: CefRequest): CefResourceHandler

Return a new resource handler instance to handle the request or NULL to allow default handling of the request.

Parameters

browser

The corresponding browser, or NULL if the request did not originate from a browser window (for example, if the request came from CefURLRequest).

frame

The frame generating the event, or NULL if the request did not originate from a browser window (for example, if the request came from CefURLRequest). Instance only valid within the scope of this method.

schemeName

Name of the scheme being created.

request

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