[][src]Function ruma_identifiers::is_valid_server_name

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

Use the ServerName type instead.

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