-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.URLPart
Andrew Lambert edited this page Nov 7, 2023
·
6 revisions
libcURL.URLPart
Protected Enum URLPart
All=0
Scheme
User
Password
Options
Host
Port
Path
Query
Fragment
ZoneID ' libcurl 7.65.0 and later
Used in the URLParser class to indicate the part of the URL being referred to.
SCHEME://USERNAME:PASSWORD@HOST:PORT/PATH/?QUERY#FRAGMENT
URLPart | Comment |
---|---|
All |
The entire URL. |
Scheme |
The protocol scheme of the URL. For example, https . |
User |
The optional/deprecated username field. |
Password |
The optional/deprecated password field. |
Options |
An optional field that may follow the password field. Only valid in the pop3 , smtp and imap protocol schemes. |
Host |
The domain name or IP address of the server. |
Port |
The optional port number. |
Path |
The file path field of the URL, if one exists. |
Query |
The optional list of arguments. |
Fragment |
Also known as the "hashtag" part. |
ZoneID |
This field may be used if the Host part is an IPv6 address. |
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.