pub async fn from_key_data(
        secret: &str,
        session: &str,
        affiliate_code: Option<String>,
        client_id: u64,
        env: Environment,
        timeout: u64,
    ) -> Result<Self> {
        let state = State::from_key_data(secret, session)?;
        Self::client_setup(state, client_id, affiliate_code, env, timeout).await
    }
/// Create a client using a base64 encoded keylist and session id (contents of Nash produced .json file)
Create a client using a base64 encoded keylist and session id (contents of Nash produced .json file)
Create a client using a base64 encoded keylist and session id ( contents of Nash produced . json file )
pub async fn from_key_data(
        secret: &str,
        session: &str,
        affiliate_code: Option<String>,
        client_id: u64,
        env: Environment,
        timeout: u64,
    ) -> Result<Self> {
        let state = State::from_key_data(secret, session)?;
        Self::client_setup(state, client_id, affiliate_code, env, timeout).await
    }
pub async fn from_key_data ( secret : & str , session : & str , affiliate_code : Option < String > , client_id : u64 , env : Environment , timeout : u64 , ) -> Result < Self > { let state = State :: from_key_data ( secret , session ) ? ; Self :: client_setup ( state , client_id , affiliate_code , env , timeout ) . await }
Create a client using a base64 encoded keylist and session id (contents of Nash produced .json file)
Create a client using a base64 encoded keylist and session id ( contents of Nash produced . json file )
secret
&str
session
&str
affiliate_code
Option<String>
client_id
u64
env
Environment
timeout
u64
secret
&str
session
&str
affiliate_code
Option<String>
client_id
u64
env
Environment
timeout
u64