ICookieManagerSetSupportedSchemes Method |
Version 75.1.140
Set the schemes supported by this manager. Calling this method with an empty schemes value and includeDefaults
set to false will disable all loading and saving of cookies for this manager. Must be called before any cookies are accessed.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.0)
Syntax void SetSupportedSchemes(
string[] schemes,
bool includeDefaults,
ICompletionCallback callback = null
)
void SetSupportedSchemes(
array<String^>^ schemes,
bool includeDefaults,
ICompletionCallback^ callback = nullptr
)
Parameters
- schemes
- Type: SystemString
The list of supported schemes. - includeDefaults
- Type: SystemBoolean
If true the default schemes ("http", "https", "ws" and "wss") will also be supported. Calling this method with an empty schemes value and includeDefaults
set to false will disable all loading and saving of cookies for this manager - callback (Optional)
- Type: CefSharpICompletionCallback
If non-NULL it will be executed asnychronously on the CEF UI thread after the change has been applied.
See Also