[][src]Function ruma_identifiers::is_valid_server_name

pub fn is_valid_server_name(name: &str) -> bool

Check whether a given string is a valid server name according to the specification.