Skip to main content

format_host

Function format_host 

Source
pub fn format_host(ip: IpAddr) -> String
Expand description

Wrap IPv6 literals in brackets so they can go in a URL authority.