WKHttpCookieStore.SetCookie(NSHttpCookie, Action) 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.
[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