ICookieManager.SetSupportedSchemes Method |
Version 79.1.350
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: 76.1.90.0 (76.1.90.0)
Syntaxvoid SetSupportedSchemes(
string[] schemes,
bool includeDefaults,
ICompletionCallback callback = null
)
void SetSupportedSchemes(
array<String^>^ schemes,
bool includeDefaults,
ICompletionCallback^ callback = nullptr
)
Parameters
- schemes
- Type:System.String[]
The list of supported schemes. - includeDefaults
- Type: System.Boolean
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: CefSharp.ICompletionCallback
If non-NULL it will be executed asnychronously on the CEF UI thread after the change has been applied.
See Also