Searched refs:set_host_internal (Results 1 – 2 of 2) sorted by relevance
119 url.set_host_internal(Host::Domain(String::new()), None); in set_host()150 url.set_host_internal(host, opt_port); in set_host()170 url.set_host_internal(Host::Domain(String::new()), None); in set_hostname()189 url.set_host_internal(host, None); in set_hostname()
1815 self.set_host_internal(Host::parse(host_substr)?, None); in set_host()1817 self.set_host_internal(Host::parse_opaque(host_substr)?, None); in set_host()1848 fn set_host_internal(&mut self, host: Host<String>, opt_new_port: Option<Option<u16>>) { in set_host_internal() method1937 self.set_host_internal(address, None); in set_ip_host()