Skip to content

libcURL.URLParser.Hostname

Andrew Lambert edited this page Sep 14, 2023 · 4 revisions

libcURL.URLParser.Hostname

Property Declaration

 Dim Hostname As String

Remarks

Gets and sets the domain name or IP address of the URL. IPv6 addresses must be enclosed in square brackets.

International Domain Names

IDNs can be set beginning in libcURL 8.3.0, and will be converted into their Punycode equivalents. To set an IDN without having it Punycoded, use the SetPartContent method.

IDNs can be get beginning in libcURL 7.88.0, and will be converted into their Punycode equivalents. To retrieve the IDN instead of the Punycode, use the GetPartContent method.

Clone this wiki locally