ObjFW  Diff

Differences From Artifact [cb95b72aba]:

To Artifact [a6d37c0b2c]:


29
30
31
32
33
34
35
36
37

38
39
40
41
42
43
44
29
30
31
32
33
34
35


36
37
38
39
40
41
42
43







-
-
+







 * @brief A class for parsing URLs and accessing parts of it.
 */
@interface OFURL: OFObject <OFCopying, OFMutableCopying, OFSerialization>
{
	OFString *_Nullable _scheme, *_Nullable _host;
	OFNumber *_Nullable _port;
	OFString *_Nullable _user, *_Nullable _password, *_path;
	OFString *_Nullable _parameters, *_Nullable _query;
	OFString *_Nullable _fragment;
	OFString *_Nullable _query, *_Nullable _fragment;
}

/*!
 * The scheme part of the URL.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic) OFString *scheme;

79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
78
79
80
81
82
83
84





85
86
87
88
89
90
91







-
-
-
-
-







 * The last path component of the URL.
 *
 * Returns the empty string if the path is the root.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic)
    OFString *lastPathComponent;

/*!
 * The parameters part of the URL.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic) OFString *parameters;

/*!
 * The query part of the URL.
 */
@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic) OFString *query;

/*!
 * The fragment part of the URL.