ICookieManager Methods |
The ICookieManager type exposes the following members.
Name | Description | |
---|---|---|
DeleteCookies |
Deletes all cookies that matches all the provided parameters. If both url and name are empty, all cookies will be deleted.
Cookies can alternately be deleted using the Visit*Cookies() methods.
This method will be executed on the CEF IO thread in an async fashion, to be notified upon completion implement IDeleteCookiesCallback
and pass in as callback | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
FlushStore |
Flush the backing store (if any) to disk
This method will be executed on the CEF IO thread in an async fashion, to be notified upon completion implement ICompletionCallback
and pass in as callback | |
SetCookie |
Sets a cookie given a valid URL and explicit user-provided cookie attributes. This function expects each attribute to be well-formed. It will check for disallowed
characters (e.g. the ';' character is disallowed within the cookie value attribute) and will return false without setting
the cookie if such characters are found.
This method will be executed on the CEF IO thread in an async fashion, to be notified upon completion implement ISetCookieCallback
and pass in as callback | |
SetStoragePath |
Sets the directory path that will be used for storing cookie data. If path is empty data will be stored in
memory only. Otherwise, data will be stored at the specified path. To persist session cookies (cookies without an expiry
date or validity interval) set persistSessionCookies to true. Session cookies are generally intended to be transient and
most Web browsers do not persist them.
| |
SetSupportedSchemes |
Set the schemes supported by this manager. By default only "http" and "https" schemes are supported. Must be called before any cookies are accessed.
| |
VisitAllCookies |
Visits all cookies using the provided Cookie Visitor. The returned cookies are sorted by longest path, then by earliest creation date.
| |
VisitUrlCookies |
Visits a subset of the cookies. The results are filtered by the given url scheme, host, domain and path.
If includeHttpOnly is true, HTTP-only cookies will also be included in the results. The returned cookies
are sorted by longest path, then by earliest creation date.
|
Name | Description | |
---|---|---|
DeleteCookiesAsync |
Deletes all cookies that matches all the provided parameters asynchronously.
If both url and name are empty, all cookies will be deleted.
(Defined by AsyncExtensions.) | |
FlushStoreAsync |
Flush the backing store (if any) to disk.
(Defined by AsyncExtensions.) | |
SetCookieAsync |
Sets a cookie given a valid URL and explicit user-provided cookie attributes.
This function expects each attribute to be well-formed. It will check for disallowed
characters (e.g. the ';' character is disallowed within the cookie value attribute) and will return false without setting
(Defined by AsyncExtensions.) | |
VisitAllCookiesAsync |
Visits all cookies. The returned cookies are sorted by longest path, then by earliest creation date.
(Defined by AsyncExtensions.) | |
VisitUrlCookiesAsync |
Visits a subset of the cookies. The results are filtered by the given url scheme, host, domain and path.
If includeHttpOnly is true, HTTP-only cookies will also be included in the results. The returned cookies
are sorted by longest path, then by earliest creation date.
(Defined by AsyncExtensions.) |