Click or drag to resize

RequestContextExtensions Class

Version 107.1.120
RequestContext extensions.
Inheritance Hierarchy
SystemObject
  CefSharpRequestContextExtensions

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax
public static class RequestContextExtensions

The RequestContextExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberClearHttpAuthCredentialsAsync
Clears all HTTP authentication credentials that were added as part of handling GetAuthCredentials(IWebBrowser, IBrowser, String, Boolean, String, Int32, String, String, IAuthCallback).
Public methodStatic memberGetCookieManagerAsync
Gets the cookie manager associated with the IRequestContext. Once the cookie manager storage has been initialized the method will return.
Public methodStatic memberGetProxyDictionary
Public methodStatic memberLoadExtensionFromDirectory
Load an extension from the given directory. To load a crx file you must unzip it first. For further details see
Public methodStatic memberLoadExtensionsFromDirectory
Load extension(s) from the given directory. This methods obtains all the sub directories of rootDirectory and calls LoadExtension(String, String, IExtensionHandler) if manifest.json is found in the sub folder. To load crx file(s) you must unzip them first. For further details see
Public methodStatic memberRegisterOwinSchemeHandlerFactory
Extension method to register a instance of the OwinSchemeHandlerFactory with the provided appFunc for the domainName
Public methodStatic memberSetPreferenceAsync
Set the value associated with preference name. If value is null the preference will be restored to its default value. If setting the preference fails then error will be populated with a detailed description of the problem. This method must be called on the CEF UI thread. Preferences set via the command-line usually cannot be modified.
Public methodStatic memberSetProxy(IRequestContext, String, String)
Sets the proxy server for the specified IRequestContext. Protocol for the proxy server is http MUST be called on the CEF UI Thread
Public methodStatic memberSetProxy(IRequestContext, String, NullableInt32, String)
Sets the proxy server for the specified IRequestContext. Protocol for the proxy server is http MUST be called on the CEF UI Thread
Public methodStatic memberSetProxy(IRequestContext, String, String, NullableInt32, String)
Sets the proxy server for the specified IRequestContext MUST be called on the CEF UI Thread
Public methodStatic memberSetProxyAsync(IRequestContext, String, NullableInt32)
Sets the proxy server for the specified IRequestContext. Protocol for the proxy server is http
Public methodStatic memberSetProxyAsync(IRequestContext, String, String, NullableInt32)
Sets the proxy server for the specified IRequestContext
Top
See Also