Click or drag to resize

RequestContextExtensions Class

Version 130.1.90
RequestContext extensions.
Inheritance Hierarchy
SystemObject
  CefSharpRequestContextExtensions

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

The RequestContextExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodClearHttpAuthCredentialsAsync Clears all HTTP authentication credentials that were added as part of handling GetAuthCredentials(IWebBrowser, IBrowser, String, Boolean, String, Int32, String, String, IAuthCallback).
Public Extension MethodGetCookieManagerAsync Gets the cookie manager associated with the IRequestContext. Once the cookie manager storage has been initialized the method will return.
Public methodStatic memberGetProxyDictionary Creates a Dictionary that can be used with SetPreference(String, Object, String)
Public Extension MethodRegisterOwinSchemeHandlerFactory Extension method to register a instance of the OwinSchemeHandlerFactory with the provided appFunc for the domainName
Public Extension MethodSetPreferenceAsync 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 Extension MethodSetProxy(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 Extension MethodSetProxy(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 Extension MethodSetProxy(IRequestContext, String, String, NullableInt32, String) Sets the proxy server for the specified IRequestContext MUST be called on the CEF UI Thread
Public Extension MethodSetProxyAsync(IRequestContext, String, NullableInt32) Sets the proxy server for the specified IRequestContext. Protocol for the proxy server is http
Public Extension MethodSetProxyAsync(IRequestContext, String, String, NullableInt32) Sets the proxy server for the specified IRequestContext
Top
See Also