You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CefSharp/ICookieManager.cs
+16-16
Original file line number
Diff line number
Diff line change
@@ -12,32 +12,32 @@ namespace CefSharp
12
12
publicinterfaceICookieManager:IDisposable
13
13
{
14
14
/// <summary>
15
-
/// Deletes all cookies that matches all the provided parameters. If both <paramref name="url"/> and <paramref name="name"/> are empty, all cookies will be deleted.
16
-
/// Cookies can alternately be deleted using the Visit*Cookies() methods.
17
-
/// This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implement <see cref="IDeleteCookiesCallback"/>
18
-
/// and pass in as <paramref name="callback"/>
15
+
/// Delete all cookies that match the specified parameters.
16
+
/// If both <paramref name="url"/> and <paramref name="name"/> values are specified all host and domain cookies matching both will be deleted.
17
+
/// If only <paramref name="url"/> is specified all host cookies (but not domain cookies) irrespective of path will be deleted.
18
+
/// If <paramref name="url"/> is empty all cookies for all hosts and domains will be deleted.
19
+
/// Cookies can alternately be deleted using the Visit*Cookies() methods.
19
20
/// </summary>
20
-
/// <param name="url">The cookie URL. If an empty string is provided, any URL will be matched.</param>
21
-
/// <param name="name">The name of the cookie. If an empty string is provided, any URL will be matched.</param>
21
+
/// <param name="url">The cookie URL.</param>
22
+
/// <param name="name">The name of the cookie.</param>
22
23
/// <param name="callback">If non-NULL it will be executed asnychronously on the CEF UI thread after the cookies have been deleted.</param>
23
-
/// <returns>Returns false if a non-empty invalid URL is specified, or if cookies cannot be accessed; otherwise, true.</returns>
24
+
/// <returns>Returns false if a non-empty invalid URL is specified or if cookies cannot be accessed; otherwise, true.</returns>
/// 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
28
-
/// characters (e.g. the ';' character is disallowed within the cookie value attribute) and will return false without setting
29
-
/// the cookie if such characters are found.
29
+
/// characters (e.g. the ';' character is disallowed within the cookie value attribute) and fail without setting the cookie if such characters are found.
30
30
/// This method will be executed on the CEF UI thread in an async fashion, to be notified upon completion implement <see cref="ISetCookieCallback"/>
31
31
/// and pass in as <paramref name="callback"/>
32
32
/// </summary>
33
33
/// <param name="url">The cookie URL</param>
34
34
/// <param name="cookie">The cookie</param>
35
35
/// <param name="callback">If non-NULL it will be executed asnychronously on the CEF UI thread after the cookie has been set.</param>
36
-
/// <returns>returns false if the cookie cannot be set (e.g. if illegal charecters such as ';' are used); otherwise true.</returns>
36
+
/// <returns>Returns false if an invalid URL is specified or if cookies cannot be accessed.</returns>
/// Set the schemes supported by this manager. Calling this method with an empty <paramref name="schemes"/> value and <paramref name="includeDefaults"/>
40
+
/// Set the schemes supported by this manager. Calling this method with an empty <paramref name="schemes"/> value and <paramref name="includeDefaults"/>
41
41
/// set to false will disable all loading and saving of cookies for this manager. Must be called before any cookies are accessed.
42
42
/// </summary>
43
43
/// <param name="schemes">The list of supported schemes.</param>
@@ -47,19 +47,19 @@ public interface ICookieManager : IDisposable
0 commit comments