Skip to main content

spawn_and_auth

Function spawn_and_auth 

Source
pub async fn spawn_and_auth(
    server_addr: EndpointAddr,
    auth_token: String,
) -> Result<OmryApi>
Expand description

Spawns a new OmryApi connected to the given address, and authenticates with the given token.