RequestContextExtensions Class |
Namespace: CefSharp
The RequestContextExtensions type exposes the following members.
Name | Description | |
---|---|---|
ClearHttpAuthCredentialsAsync |
Clears all HTTP authentication credentials that were added as part of handling
GetAuthCredentials(IWebBrowser, IBrowser, String, Boolean, String, Int32, String, String, IAuthCallback).
| |
GetCookieManagerAsync |
Gets the cookie manager associated with the IRequestContext. Once the cookie manager
storage has been initialized the method will return.
| |
GetProxyDictionary |
Creates a Dictionary that can be used with SetPreference(String, Object, String) | |
LoadExtensionFromDirectory |
Load an extension from the given directory. To load a crx file you must unzip it first.
For further details see | |
LoadExtensionsFromDirectory |
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 | |
RegisterOwinSchemeHandlerFactory |
Extension method to register a instance of the OwinSchemeHandlerFactory with the provided appFunc
for the domainName | |
SetPreferenceAsync |
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.
| |
SetProxy(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
| |
SetProxy(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
| |
SetProxy(IRequestContext, String, String, NullableInt32, String) |
Sets the proxy server for the specified IRequestContext
MUST be called on the CEF UI Thread
| |
SetProxyAsync(IRequestContext, String, NullableInt32) |
Sets the proxy server for the specified IRequestContext.
Protocol for the proxy server is http
| |
SetProxyAsync(IRequestContext, String, String, NullableInt32) |
Sets the proxy server for the specified IRequestContext |