pub async fn client_for_url( addr: &str, timeout: Duration, ) -> Result<OgmiosClients, String>
Returns client that works either with HTTP or WebSockets. HTTP does not return JSON-RPC error body in case of 400 Bad Request.