Click or drag to resize

IRequestContextHandler Interface

Version 71.0.0
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: 71.0.0.0 (71.0.0.0)
Syntax
public interface IRequestContextHandler

The IRequestContextHandler type exposes the following members.

Methods
  NameDescription
Public methodGetCookieManager
Called on the browser process IO thread to retrieve the cookie manager. If this method returns NULL the default cookie manager retrievable via IRequestContext.GetDefaultCookieManager() will be used.
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