Skip to main content

server_name

Function server_name 

Source
pub fn server_name(name: String) -> String
Expand description

A server’s name cut to crate::MAX_HELLO_TEXT characters, as a PeerHello’s is: what a server keeps of another’s name, from wherever it came. Control characters go first: the name is logged, and a newline in it would forge a line of the log.