[][src]Function yew::utils::host

pub fn host() -> Result<String, Error>

Returns host for the current document. Useful to connect to a server that serves the app.