WKHttpCookieStore.SetCookieAsync(NSHttpCookie) Method

Definition

Sets the specified cookie and runs a handler when the operation completes.

public virtual System.Threading.Tasks.Task SetCookieAsync (Foundation.NSHttpCookie cookie);
abstract member SetCookieAsync : Foundation.NSHttpCookie -> System.Threading.Tasks.Task
override this.SetCookieAsync : Foundation.NSHttpCookie -> System.Threading.Tasks.Task

Parameters

cookie
NSHttpCookie

The cookie to set.

Returns

A task that represents the asynchronous SetCookie operation

Applies to