WKHttpCookieStore.SetCookieAsync(NSHttpCookie) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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