[][src]Function hass_rs::client::connect

pub async fn connect<'_>(host: &'_ str, port: u16) -> HassResult<HassClient>

establish the websocket connection to Home Assistant server