pub fn host() -> Result<String, Error>
Returns the host for the current document. Useful for connecting to the server which serves the app.
host