Click or drag to resize

IRequestContextHandler Interface

Version 87.1.132
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: 87.1.132.0 (87.1.132.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 methodOnBeforePluginLoad
Called on the CEF IO thread before a plugin instance is loaded. The default plugin policy can be set at runtime using the `--plugin-policy=[allow|detect|block]` command-line flag.
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