pub fn new<U>(url: U) -> Result<Self, Error>
    where
        U: TryInto<HttpClientUrl, Error = Error>,
    {
        let url = url.try_into()?;
        Ok(Self {
            inner: if url.0.is_secure() {
                sealed::HttpClient::new_https(url.try_into()?)
            } else {
                sealed::HttpClient::new_http(url.try_into()?)
            },
        })
    }
/// Construct a new Tendermint RPC HTTP/S client connecting to the given
/// URL.
Construct a new Tendermint RPC HTTP/S client connecting to the given
URL.
Construct a new Tendermint RPC HTTP / S client connecting to the given URL .
pub fn new<U>(url: U) -> Result<Self, Error>
    where
        U: TryInto<HttpClientUrl, Error = Error>,
    {
        let url = url.try_into()?;
        Ok(Self {
            inner: if url.0.is_secure() {
                sealed::HttpClient::new_https(url.try_into()?)
            } else {
                sealed::HttpClient::new_http(url.try_into()?)
            },
        })
    }
pub fn new < U > ( url : U ) -> Result < Self , Error > where U : TryInto < HttpClientUrl , Error = Error > , { let url = url . try_into ( ) ? ; Ok ( Self { inner : if url . 0 . is_secure ( ) { sealed :: HttpClient :: new_https ( url . try_into ( ) ? ) } else { sealed :: HttpClient :: new_http ( url . try_into ( ) ? ) } , } ) }
Construct a new Tendermint RPC HTTP/S client connecting to the given
URL.
Construct a new Tendermint RPC HTTP / S client connecting to the given URL .
url
U