Skip to main content

split_remote_addr

Function split_remote_addr 

Source
fn split_remote_addr(addr: &str) -> (&str, Option<&str>)
Expand description

Splits ip:port, tolerating bare IPs and bracketed IPv6.