Click or drag to resize

IRequestHandler Methods

Version 98.1.210

The IRequestHandler type exposes the following members.

Methods
  NameDescription
Public methodGetAuthCredentials
Called when the browser needs credentials from the user.
Public methodGetResourceRequestHandler
Called on the CEF IO thread before a resource request is initiated.
Public methodOnBeforeBrowse
Called before browser navigation. If the navigation is allowed [!:IWebBrowser.FrameLoadStart] and [!:IWebBrowser.FrameLoadEnd] will be called. If the navigation is canceled [!:IWebBrowser.LoadError] will be called with an ErrorCode value of Aborted.
Public methodOnCertificateError
Called to handle requests for URLs with an invalid SSL certificate. Return true and call Continue(Boolean) either in this method or at a later time to continue or cancel the request. If CefSettings.IgnoreCertificateErrors is set all invalid certificates will be accepted without calling this method.
Public methodOnDocumentAvailableInMainFrame
Called on the CEF UI thread when the window.document object of the main frame has been created.
Public methodOnOpenUrlFromTab
Called on the UI thread before OnBeforeBrowse in certain limited cases where navigating a new or different browser might be desirable. This includes user-initiated navigation that might open in a special way (e.g. links clicked via middle-click or ctrl + left-click) and certain types of cross-origin navigation initiated from the renderer process (e.g. navigating the top-level frame to/from a file URL).
Public methodOnPluginCrashed
Called when a plugin has crashed
Public methodOnQuotaRequest
Called when JavaScript requests a specific storage quota size via the webkitStorageInfo.requestQuota function. For async processing return true and execute Continue(Boolean) at a later time to grant or deny the request or Cancel to cancel.
Public methodOnRenderProcessTerminated
Called when the render process terminates unexpectedly.
Public methodOnRenderViewReady
Called on the CEF UI thread when the render view associated with browser is ready to receive/handle IPC messages in the render process.
Public methodOnSelectClientCertificate
Called when the browser needs user to select Client Certificate for authentication requests (eg. PKI authentication).
Top
See Also