Click or drag to resize

RequestHandler Class

Version 130.1.90
Default implementation of IRequestHandler. This class provides default implementations of the methods from IRequestHandler, therefore providing a convenience base class for any custom request handler.
Inheritance Hierarchy
SystemObject
  CefSharp.HandlerRequestHandler

Namespace: CefSharp.Handler
Assembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax
public class RequestHandler : IRequestHandler

The RequestHandler type exposes the following members.

Constructors
 NameDescription
Public methodRequestHandlerInitializes a new instance of the RequestHandler class
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Protected methodGetAuthCredentials Called when the browser needs credentials from the user.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetResourceRequestHandler Called on the CEF IO thread before a resource request is initiated.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnBeforeBrowse Called before browser navigation. If the navigation is allowed FrameLoadStart and FrameLoadEnd will be called. If the navigation is canceled LoadError will be called with an ErrorCode value of Aborted.
Protected 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.
Protected methodOnDocumentAvailableInMainFrame Called on the CEF UI thread when the window.document object of the main frame has been created.
Protected 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).
Protected methodOnRenderProcessTerminated Called when the render process terminates unexpectedly.
Protected 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.
Protected methodOnSelectClientCertificate Called when the browser needs user to select Client Certificate for authentication requests (eg. PKI authentication).
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also