Function get_proto_and_host

Source
pub fn get_proto_and_host() -> Result<(HttpProtocol, String), JsError>
Expand description

Helper function to get the protocol and host from window.location