[][src]Function yew_stdweb::utils::host

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

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