pub(crate) fn new(url: Url) -> Self {
        Self {
            url,
            protocol_version: CURRENT_PROTOCOL_VERSION,
            custom_api_callback: None,
            #[cfg(not(target_arch = "wasm32"))]
            certificate: None,
            _api: PhantomData::default(),
        }
    }
/// Creates a new builder for a client connecting to `url`.
Creates a new builder for a client connecting to `url`.
Creates a new builder for a client connecting to ` url ` .
pub(crate) fn new(url: Url) -> Self {
        Self {
            url,
            protocol_version: CURRENT_PROTOCOL_VERSION,
            custom_api_callback: None,
            #[cfg(not(target_arch = "wasm32"))]
            certificate: None,
            _api: PhantomData::default(),
        }
    }
pub ( crate ) fn new ( url : Url ) -> Self { Self { url , protocol_version : CURRENT_PROTOCOL_VERSION , custom_api_callback : None , # [ cfg ( not ( target_arch " " ) ) ] certificate : None , _api : PhantomData :: default ( ) , } }
Creates a new builder for a client connecting to `url`.
Creates a new builder for a client connecting to ` url ` .
url
Url
url
Url