pub fn new_with(url: &str) -> Result<HcaptchaClient, url::ParseError> {
        Ok(HcaptchaClient {
            client: Client::new(),
            url: Url::parse(url)?,
        })
    }
/// Create a new Hcaptcha Client and specify the url for the API.
///
/// Specify the url for the hcaptcha API.
///
/// # Example
/// Initialise client to connect to custom Hcaptcha API
/// ```
///     use hcaptcha::HcaptchaClient;
///     use url::Url;
///
///     let url = "https://domain.com/siteverify";
///     let _client = HcaptchaClient::new_with(url);
/// ```
Create a new Hcaptcha Client and specify the url for the API.
Specify the url for the hcaptcha API.
Create a new Hcaptcha Client and specify the url for the API . Specify the url for the hcaptcha API .
pub fn new_with(url: &str) -> Result<HcaptchaClient, url::ParseError> {
        Ok(HcaptchaClient {
            client: Client::new(),
            url: Url::parse(url)?,
        })
    }
pub fn new_with ( url : & str ) -> Result < HcaptchaClient , url :: ParseError > { Ok ( HcaptchaClient { client : Client :: new ( ) , url : Url :: parse ( url ) ? , } ) }
Create a new Hcaptcha Client and specify the url for the API.
Create a new Hcaptcha Client and specify the url for the API .
url
&str
url
&str
example
Initialise client to connect to custom Hcaptcha API
```
use hcaptcha::HcaptchaClient;
use url::Url.


Initialise client to connect to custom Hcaptcha API ` ` ` use hcaptcha :: HcaptchaClient ; use url :: Url .