Skip to main content

registrable

Function registrable 

Source
pub fn registrable(host: &str) -> String
Expand description

The domain a host belongs to, as registered: its last two labels, or three under a country’s own second level (“co.uk”, “gouv.fr”, “com.au”). An approximation of the Public Suffix List, which Sioul does not carry.