Movatterモバイル変換


[0]ホーム

URL:


CefSharp API Doc
CefSharp API Doc
Namespaces
CefSharp
RequestContextExtensions Class
RequestContextExtensions Methods
Click or drag to resizeClick or drag to resize

RequestContextExtensions Class

Version 118.6.80
RequestContext extensions.
Inheritance Hierarchy
SystemObject
  CefSharpRequestContextExtensions

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
publicstaticclassRequestContextExtensions
[ExtensionAttribute]publicref classRequestContextExtensionsabstractsealed

TheRequestContextExtensions type exposes the following members.

Methods
 NameDescription
Public methodStatic memberClearHttpAuthCredentialsAsync
Clears all HTTP authentication credentials that were added as part of handlingGetAuthCredentials(IWebBrowser, IBrowser, String, Boolean, String, Int32, String, String, IAuthCallback).
Public methodStatic memberGetCookieManagerAsync
Gets the cookie manager associated with theIRequestContext. Once the cookie manager storage has been initialized the method will return.
Public methodStatic memberGetProxyDictionary
Creates a Dictionary that can be used withSetPreference(String, Object, String)
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 ofrootDirectory and callsLoadExtension(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 theOwinSchemeHandlerFactory with the providedappFunc for thedomainName
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 specifiedIRequestContext. 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 specifiedIRequestContext. 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 specifiedIRequestContext MUST be called on the CEF UI Thread
Public methodStatic memberSetProxyAsync(IRequestContext, String, NullableInt32)
Sets the proxy server for the specifiedIRequestContext. Protocol for the proxy server is http
Public methodStatic memberSetProxyAsync(IRequestContext, String, String, NullableInt32)
Sets the proxy server for the specifiedIRequestContext
Top
See Also

Reference

CefSharp Namespace

https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE


[8]ページ先頭

©2009-2025 Movatter.jp