Skip to main content

host_name

Function host_name 

Source
fn host_name(host_port: &str) -> &str
Expand description

The host of a host[:port], keeping the brackets of an IPv6 address.