async_tungstenite

Function domain

Source
pub(crate) fn domain(request: &Request) -> Result<String, Error>
Expand description

Get a domain from an URL.