-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.CompareDomains
Andrew Lambert edited this page Jan 8, 2023
·
8 revisions
libcURL.CompareDomains
Protected Function CompareDomains(Hostname1 As String, Hostname2 As String, Optional EasyItem As libcURL.EasyHandle) As Boolean
Name | Type | Comment |
---|---|---|
Hostname1 | String | The first domain name |
Hostname2 | String | The second domain name |
EasyItem | EasyHandle | Optional. An easy handle to use |
Returns True
if the domains match, otherwise returns False.
Compares Hostname1
and Hostname2
to determine whether they belong to the same subdomain. Refer to the HTTP cookies example for a discussion of how domains are compared.
libcurl needs a curl_easy
handle to URLdecode data. If EasyItem
is not Nil
, then the EasyItem
is used; otherwise a new EasyHandle
is constructed.
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.