parse_host

Function parse_host 

Source
pub fn parse_host(s: &str) -> (&str, &str)
Expand description

Parses the host string from the prefix of s.

The host will not be validated.

Returns (host_string, rest_of_s).