#[cfg(feature = "http")]
mod http;
#[cfg(feature = "ws")]
mod ws;
#[derive(Debug, Clone)]
pub struct Client {
#[cfg(feature = "http")]
client: reqwest::Client,
key: String,
secret: String,
}
impl Client {
pub fn new(key: impl Into<String>, secret: impl Into<String>) -> Client {
Client {
#[cfg(feature = "http")]
client: reqwest::Client::new(),
key: key.into(),
secret: secret.into(),
}
}
}