23OF_ASSUME_NONNULL_BEGIN
25@class OFArray OF_GENERIC(ObjectType);
36OF_SUBCLASSING_RESTRICTED
39 OFString *_name, *_value, *_domain, *_path;
40 OFDate *_Nullable _expires;
41 bool _secure, _HTTPOnly;
48@property (copy, nonatomic)
OFString *name;
53@property (copy, nonatomic)
OFString *value;
58@property (copy, nonatomic)
OFString *domain;
63@property (copy, nonatomic)
OFString *path;
68@property OF_NULLABLE_PROPERTY (copy, nonatomic)
OFDate *expires;
73@property (nonatomic, getter=isSecure)
bool secure;
78@property (nonatomic, getter=isHTTPOnly)
bool HTTPOnly;
83@property (readonly, nonatomic)
117+ (instancetype)cookieWithName: (
OFString *)name
121- (instancetype)init OF_UNAVAILABLE;
132- (instancetype)initWithName: (
OFString *)name
134 domain: (
OFString *)domain OF_DESIGNATED_INITIALIZER;
An abstract class for storing objects in an array.
Definition OFArray.h:109
A class for storing, accessing and comparing dates.
Definition OFDate.h:34
An abstract class for storing objects in a dictionary.
Definition OFDictionary.h:84
A class for storing and manipulating HTTP cookies.
Definition OFHTTPCookie.h:39
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition OFIRI.h:41
An abstract class for storing, adding and removing objects in an array.
Definition OFMutableArray.h:48
The root class for all other classes inside ObjFW.
Definition OFObject.h:692
A class for handling strings.
Definition OFString.h:139
A protocol for the creation of copies.
Definition OFObject.h:1350