WKHttpCookieStore.GetAllCookiesAsync 方法

定义

将所有 Cookie 传递给提供的 completionHandler

public virtual System.Threading.Tasks.Task<Foundation.NSHttpCookie[]> GetAllCookiesAsync ();
abstract member GetAllCookiesAsync : unit -> System.Threading.Tasks.Task<Foundation.NSHttpCookie[]>
override this.GetAllCookiesAsync : unit -> System.Threading.Tasks.Task<Foundation.NSHttpCookie[]>

返回

表示异步 GetAllCookies 操作的任务。 TResult 参数的值的类型为 System.Action<Foundation.NSHttpCookie[]>。

适用于