Function websocket::ws::util::url::parse_url [] [src]

pub fn parse_url(url: &Url) -> WebSocketResult<(Host, String, bool)>

Gets the host, port, resource, and secure flag from a url