ICookieManagerSetSupportedSchemes Method |
Version 89.0.170
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: 89.0.170.0 (89.0.170.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 asynchronously on the CEF UI thread after the change has been applied.
See Also