Click or drag to resize

IRequestContextHandler Interface

Version 98.1.210
Implement this interface to provide handler implementations. The handler instance will not be released until all objects related to the context have been destroyed. Implement this interface to cancel loading of specific plugins

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 98.1.210.0 (98.1.210.0)
Syntax
public interface IRequestContextHandler

The IRequestContextHandler type exposes the following members.

Methods
  NameDescription
Public methodGetResourceRequestHandler
Called on the CEF IO thread before a resource request is initiated. This method will not be called if the client associated with browser returns a non-NULL value from GetResourceRequestHandler(IWebBrowser, IBrowser, IFrame, IRequest, Boolean, Boolean, String, Boolean) for the same request (identified by Identifier).
Public methodOnRequestContextInitialized
Called immediately after the request context has been initialized. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread.
Top
See Also