18 #import "OFSerialization.h"
20 OF_ASSUME_NONNULL_BEGIN
33 OFString *_user, *_password, *_path, *_parameters, *_query, *_fragment;
36 #ifdef OF_HAVE_PROPERTIES
37 @property (copy)
OFString *scheme, *host;
38 @property uint16_t port;
39 @property OF_NULLABLE_PROPERTY (copy)
OFString *user, *password;
41 @property OF_NULLABLE_PROPERTY (copy)
OFString *parameters, *query, *fragment;
57 + (instancetype)URLWithString: (
OFString*)string;
66 + (instancetype)URLWithString: (
OFString*)string
67 relativeToURL: (
OFURL*)URL;
86 relativeToURL: (
OFURL*)URL;
100 - (void)setScheme: (
OFString*)scheme;
128 - (void)setPort: (uint16_t)port;
142 - (void)setUser: (nullable
OFString*)user;
156 - (void)setPassword: (nullable
OFString*)password;
184 - (void)setParameters: (nullable
OFString*)parameters;
198 - (void)setQuery: (nullable
OFString*)query;
212 - (void)setFragment: (nullable
OFString*)fragment;
222 OF_ASSUME_NONNULL_END
A class for handling strings.
Definition: OFString.h:91
A class for parsing URLs and accessing parts of it.
Definition: OFURL.h:29
A protocol for the creation of copies.
Definition: OFObject.h:896
The root class for all other classes inside ObjFW.
Definition: OFObject.h:364
A protocol for serializing objects.
Definition: OFSerialization.h:30