Skip to content
Andrew Lambert edited this page Nov 7, 2023 · 6 revisions

libcURL.URLPart

Enumeration

Protected Enum URLPart
  All=0
  Scheme
  User
  Password
  Options
  Host
  Port
  Path
  Query
  Fragment
  ZoneID ' libcurl 7.65.0 and later

Remarks

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.
Clone this wiki locally