Editar

Compartilhar via


WKHttpCookieStore.SetCookie(NSHttpCookie, Action) Method

Definition

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

[Foundation.Export("setCookie:completionHandler:")]
public virtual void SetCookie (Foundation.NSHttpCookie cookie, Action completionHandler);
abstract member SetCookie : Foundation.NSHttpCookie * Action -> unit
override this.SetCookie : Foundation.NSHttpCookie * Action -> unit

Parameters

cookie
NSHttpCookie

The cookie to set.

completionHandler
Action

A handler to run after the operation completes.

This parameter can be null.

Attributes

Applies to