CefResourceRequestHandler

Implement this interface to handle events related to browser requests. The methods of this class will be called on the IO thread unless otherwise indicated.

Inheritors

Functions

Link copied to clipboard
Called on the IO thread before a resource is loaded.
Link copied to clipboard
abstract fun getResourceHandler(browser: CefBrowser, frame: CefFrame, request: CefRequest): CefResourceHandler
Called on the IO thread before a resource is loaded.
Link copied to clipboard
abstract fun onBeforeResourceLoad(browser: CefBrowser, frame: CefFrame, request: CefRequest): Boolean
Called on the IO thread before a resource request is loaded.
Link copied to clipboard
abstract fun onProtocolExecution(browser: CefBrowser, frame: CefFrame, request: CefRequest, allowOsExecution: BoolRef)
Called on the IO thread to handle requests for URLs with an unknown protocol component.
Link copied to clipboard
abstract fun onResourceLoadComplete(browser: CefBrowser, frame: CefFrame, request: CefRequest, response: CefResponse, status: CefURLRequest.Status, receivedContentLength: Long)
Called on the IO thread when a resource load has completed.
Link copied to clipboard
abstract fun onResourceRedirect(browser: CefBrowser, frame: CefFrame, request: CefRequest, response: CefResponse, new_url: StringRef)
Called on the IO thread when a resource load is redirected.
Link copied to clipboard
abstract fun onResourceResponse(browser: CefBrowser, frame: CefFrame, request: CefRequest, response: CefResponse): Boolean
Called on the IO thread when a resource response is received.