NSHttpCookie Class
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.
[Foundation.Register("NSHTTPCookie", true)]
public class NSHttpCookie : Foundation.NSObject
[<Foundation.Register("NSHTTPCookie", true)>]
type NSHttpCookie = class
inherit NSObject
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| NSHttpCookie(Cookie) |
Create a new cookie from the supplied Cookie instance's properties. |
| NSHttpCookie(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| NSHttpCookie(NSDictionary) | |
| NSHttpCookie(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| NSHttpCookie(String, String, String, String) |
Create a new cookie with the supplied name, value, path and domain. |
| NSHttpCookie(String, String, String) |
Create a new cookie with the supplied name, value and path. |
| NSHttpCookie(String, String) |
Create a new cookie with the supplied name and value. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| Comment | |
| CommentUrl | |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| Domain | |
| ExpiresDate | |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsHttpOnly |
Whether this cookie should only be sent to HTTP servers per RFC 2965. |
| IsProxy | (Inherited from NSObject) |
| IsSecure |
Whether this cookie should only be sent over secure channels. |
| IsSessionOnly |
Whether this cookie should be discarded at the end of the session, ignoring the expiration date. |
| KeyComment | |
| KeyCommentUrl | |
| KeyDiscard | |
| KeyDomain | |
| KeyExpires | |
| KeyMaximumAge | |
| KeyName | |
| KeyOriginUrl | |
| KeyPath | |
| KeyPort | |
| KeySameSiteLax |
Represents the value associated with the constant 'NSHTTPCookieSameSiteLax'. |
| KeySameSitePolicy |
Represents the value associated with the constant 'NSHTTPCookieSameSitePolicy'. |
| KeySameSiteStrict |
Represents the value associated with the constant 'NSHTTPCookieSameSiteStrict'. |
| KeySecure | |
| KeySetByJavaScript |
Represents the value associated with the constant 'NSHTTPCookieSetByJavaScript'. |
| KeyValue | |
| KeyVersion | |
| Name | |
| Path | |
| PortList | |
| Properties | |
| RetainCount | (Inherited from NSObject) |
| SameSitePolicy | |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Value | |
| Version | |
| Zone | (Inherited from NSObject) |