Lines Matching +full:set +full:- +full:url
1 ---
3 SPDX-License-Identifier: curl
7 See-also:
8 - CURLOPT_URL (3)
9 - curl_url (3)
10 - curl_url_cleanup (3)
11 - curl_url_dup (3)
12 - curl_url_get (3)
13 - curl_url_set (3)
14 - curl_url_strerror (3)
16 - All
17 ---
21 libcurl-url - URL interface overview
25 The URL interface provides functions for parsing and generating URLs.
33 Create a handle that holds URL info and resources with curl_url(3):
54 By setting a URL to the handle with curl_url_set(3), the URL is parsed
55 and stored in the handle. If the URL is not syntactically correct it returns
64 If successful, this stores the URL in its individual parts within the handle.
68 When a handle already contains info about a URL, setting a relative URL makes
74 # GET URL
76 The **CURLU** handle represents a URL and you can easily extract that with
79 char *url;
80 rc = curl_url_get(h, CURLUPART_URL, &url, 0);
81 curl_free(url);
87 When a URL has been parsed or parts have been set, you can extract those
102 Extracted parts are not URL decoded unless the user also asks for it with the
103 *CURLU_URLDECODE* flag set in the fourth bitmask argument.
108 # SET PARTS
110 A user set individual URL parts, either after having parsed a full URL or
125 Set parts are not URL encoded unless the user asks for it with the
133 Imagine a handle that holds the URL "https://example.com/?shoes=2". An
141 handle's full URL then equals "https://example.com/?shoes=2&hat=1".
143 The appended string can of course also get URL encoded on add, and if asked to
144 URL encode, the encoding process skips the '=' character. For example, append
145 "candy=N&N" to what we already have, and URL encode it to deal with the
153 Now the URL looks like
161 The URL API was introduced in libcurl 7.62.0.
163 A URL with a literal IPv6 address can be parsed even when IPv6 support is not