Click or drag to resize

ICookieManagerSetSupportedSchemes Method

Version 84.4.10
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: 84.4.10.0 (84.4.10.0)
Syntax
void SetSupportedSchemes(
	string[] schemes,
	bool includeDefaults,
	ICompletionCallback callback = null
)

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