Function parse_host
Source pub fn parse_host(input: &str) -> ParsedHost
Expand description
Parse host string into hostname and port
§Arguments
input - The host string to parse (e.g. “example.com:8080”, “localhost:3000”)
§Returns
ParsedHost - A struct containing the hostname and port