19 OF_ASSUME_NONNULL_BEGIN
21 @class OFArray OF_GENERIC(ObjectType);
34 OFString *_name, *_value, *_domain, *_path;
35 OFDate *_Nullable _expires;
36 bool _secure, _HTTPOnly;
44 @property (copy, nonatomic)
OFString *name;
49 @property (copy, nonatomic)
OFString *value;
54 @property (copy, nonatomic)
OFString *domain;
59 @property (copy, nonatomic)
OFString *path;
64 @property OF_NULLABLE_PROPERTY (copy, nonatomic)
OFDate *expires;
69 @property (nonatomic, getter=isSecure)
bool secure;
74 @property (nonatomic, getter=isHTTPOnly)
bool HTTPOnly;
79 @property (readonly, nonatomic)
111 + (instancetype)cookieWithName: (
OFString *)name
115 - (instancetype)init OF_UNAVAILABLE;
126 - (instancetype)initWithName: (
OFString *)name
128 domain: (
OFString *)domain OF_DESIGNATED_INITIALIZER;
131 OF_ASSUME_NONNULL_END
An abstract class for storing objects in an array.
Definition: OFArray.h:92
A class for storing, accessing and comparing dates.
Definition: OFDate.h:36
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:58
A class for storing and manipulating HTTP cookies.
Definition: OFHTTPCookie.h:34
An abstract class for storing, adding and removing objects in an array.
Definition: OFMutableArray.h:44
The root class for all other classes inside ObjFW.
Definition: OFObject.h:520
A class for handling strings.
Definition: OFString.h:132
A class for parsing URLs and accessing parts of it.
Definition: OFURL.h:34
A protocol for the creation of copies.
Definition: OFObject.h:1187