pub fn new<T: Into<String>>(host: T, token: T) -> Self {
        let host: String = host.into();
        Client {
            host: host.clone(),
            token: token.into(),
            insecure_skip_verify_tls: !host.starts_with("https"),
            ..Default::default()
        }
    }
/// Create a new client to access CDS API
Create a new client to access CDS API
Create a new client to access CDS API
pub fn new<T: Into<String>>(host: T, token: T) -> Self {
        let host: String = host.into();
        Client {
            host: host.clone(),
            token: token.into(),
            insecure_skip_verify_tls: !host.starts_with("https"),
            ..Default::default()
        }
    }
pub fn new < T : Into < String > > ( host : T , token : T ) -> Self { let host : String = host . into ( ) ; Client { host : host . clone ( ) , token : token . into ( ) , insecure_skip_verify_tls : ! host . starts_with ( " " ) , .. Default :: default ( ) } }
Create a new client to access CDS API
Create a new client to access CDS API
host
T
token
T
host
T
token
T