fn set_port(addr: &mut SocketAddr, host_port: u16, explicit: bool)Expand description
Respect explicit ports in the URI, if none, either
keep non 0 ports resolved from a custom dns resolver,
or use the default port for the scheme.
fn set_port(addr: &mut SocketAddr, host_port: u16, explicit: bool)Respect explicit ports in the URI, if none, either
keep non 0 ports resolved from a custom dns resolver,
or use the default port for the scheme.