TypeScript API Documentation for LIBSOUP
API Version: 3.0
Library Version: 3.6.6
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Looks whether the domain passed as argument is a public domain suffix (.org, .com, .co.uk, etc) or not.
domain
Prior to libsoup 2.46, this function required that domain be in UTF-8 if it was an IDN. From 2.46 on, the name can be in either UTF-8 or ASCII format.
a domain name
true if it is a public domain, false otherwise.
true
false
Looks whether the
domainpassed as argument is a public domain suffix (.org, .com, .co.uk, etc) or not.Prior to libsoup 2.46, this function required that
domainbe in UTF-8 if it was an IDN. From 2.46 on, the name can be in either UTF-8 or ASCII format.