Implement this interface to handle events related to browser requests. The methods of this class will be called on the thread indicated.
Namespace: CefSharpCefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic interface IRequestHandler
public interface class IRequestHandler
The IRequestHandler type exposes the following members.
Methods Name Description GetAuthCredentialsCalled when the browser needs credentials from the user.
GetResourceRequestHandlerCalled on the CEF IO thread before a resource request is initiated.
OnBeforeBrowseCalled before browser navigation. If the navigation is allowed
FrameLoadStartand
FrameLoadEndwill be called. If the navigation is canceled
LoadErrorwill be called with an ErrorCode value of
Aborted.
OnCertificateErrorCalled 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.
OnDocumentAvailableInMainFrameCalled on the CEF UI thread when the window.document object of the main frame has been created.
OnOpenUrlFromTabCalled 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).
OnRenderProcessTerminatedCalled when the render process terminates unexpectedly.
OnRenderViewReadyCalled on the CEF UI thread when the render view associated with browser is ready to receive/handle IPC messages in the render process.
OnSelectClientCertificateCalled when the browser needs user to select Client Certificate for authentication requests (eg. PKI authentication).
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4