Function ruma_identifiers::is_valid_server_name [−][src]
pub fn is_valid_server_name(name: &str) -> bool
👎 Deprecated:
Use the ServerName
type instead.
Expand description
Check whether a given string is a valid server name according to the specification.