1
2
3
4
5
6
7
8
9
|
/*
* Copyright (c) 2008-2021 Jonathan Schleifer <js@nil.im>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE.QPL included in
* the packaging of this file.
*
|
|
|
1
2
3
4
5
6
7
8
9
|
/*
* Copyright (c) 2008-2022 Jonathan Schleifer <js@nil.im>
*
* All rights reserved.
*
* This file is part of ObjFW. It may be distributed under the terms of the
* Q Public License 1.0, which can be found in the file LICENSE.QPL included in
* the packaging of this file.
*
|
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
/**
* @brief The query part of the URL as a dictionary.
*
* For example, a query like `key1=value1&key2=value2` would correspond to the
* following dictionary:
*
* @{
* @"key1": "value1",
* @"key2": "value2"
* }
*/
@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic)
OFDictionary OF_GENERIC(OFString *, OFString *) *queryDictionary;
/**
* @brief The fragment part of the URL.
|
|
|
|
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
/**
* @brief The query part of the URL as a dictionary.
*
* For example, a query like `key1=value1&key2=value2` would correspond to the
* following dictionary:
*
* @{
* @"key1": @"value1",
* @"key2": @"value2"
* }
*/
@property OF_NULLABLE_PROPERTY (readonly, copy, nonatomic)
OFDictionary OF_GENERIC(OFString *, OFString *) *queryDictionary;
/**
* @brief The fragment part of the URL.
|
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
/**
* @brief The URL as a string.
*/
@property (readonly, nonatomic) OFString *string;
/**
* @brief The URL with relative sub paths resolved.
*/
@property (readonly, nonatomic) OFURL *URLByStandardizingPath;
#ifdef OF_HAVE_FILES
/**
* @brief The local file system representation for a file URL.
*
|
|
|
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
|
/**
* @brief The URL as a string.
*/
@property (readonly, nonatomic) OFString *string;
/**
* @brief The URL with relative subpaths resolved.
*/
@property (readonly, nonatomic) OFURL *URLByStandardizingPath;
#ifdef OF_HAVE_FILES
/**
* @brief The local file system representation for a file URL.
*
|