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

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

Returns the host for the current document. Useful for connecting to the server which serves the app.