yew::utils
pub fn host() -> Result<String, Error>
Returns host for the current document. Useful to connect to a server that server the app.
host