pub async fn new(
        keys_path: Option<&str>,
        client_id: u64,
        affiliate_code: Option<String>,
        env: Environment,
        timeout: u64,
    ) -> Result<Self> {
        let state = State::new(keys_path)?;
        Self::client_setup(state, client_id, affiliate_code, env, timeout).await
    }
/// Create a new client using an optional `keys_path`. The `client_id` is an identifier
/// registered with the absinthe WS connection. It can possibly be removed.
Create a new client using an optional `keys_path`. The `client_id` is an identifier
registered with the absinthe WS connection. It can possibly be removed.
Create a new client using an optional ` keys_path ` . The ` client_id ` is an identifier registered with the absinthe WS connection . It can possibly be removed .
pub async fn new(
        keys_path: Option<&str>,
        client_id: u64,
        affiliate_code: Option<String>,
        env: Environment,
        timeout: u64,
    ) -> Result<Self> {
        let state = State::new(keys_path)?;
        Self::client_setup(state, client_id, affiliate_code, env, timeout).await
    }
pub async fn new ( keys_path : Option < & str > , client_id : u64 , affiliate_code : Option < String > , env : Environment , timeout : u64 , ) -> Result < Self > { let state = State :: new ( keys_path ) ? ; Self :: client_setup ( state , client_id , affiliate_code , env , timeout ) . await }
Create a new client using an optional `keys_path`.
Create a new client using an optional ` keys_path ` .
keys_path
Option<&str>
client_id
u64
affiliate_code
Option<String>
env
Environment
timeout
u64
keys_path
Option<&str>
client_id
u64
affiliate_code
Option<String>
env
Environment
timeout
u64