yew_stdweb::utils

Function host

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

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