Skip to main content

parse_host_port

Function parse_host_port 

Source
pub fn parse_host_port(host: &str) -> (&str, u16)
Expand description

host 文字列(ホスト名[:ポート])をホスト名とポート番号に分解する(HTTP既定: 80)。