Skip to main content

hostname

Function hostname 

Source
pub fn hostname(value: &[u8]) -> bool
Expand description

The checks of Hostname::isValid() before its allow list: not '' or '0', at most 253 characters (mb_strlen()), no / and no :.