X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/d54be747da7fec55686eae27a26dbd266e4fbb6d..a96626c4685cfaf589deea45ff2d46e5d6883f3c:/client/src/jsonrpc.rs?ds=inline diff --git a/client/src/jsonrpc.rs b/client/src/jsonrpc.rs index b085cde5..6598d525 100644 --- a/client/src/jsonrpc.rs +++ b/client/src/jsonrpc.rs @@ -417,6 +417,6 @@ pub async fn connect_unix( Ok(ClientBuilder::default().build_with_tokio(sender, receiver)) } -pub async fn connect_http(uri: &str) -> Result { +pub async fn connect_http(uri: &str) -> Result, Error> { HttpClientBuilder::default().build(uri) }