Module client

Module client 

Source
Expand description

Client creates a http_client and a socket connection to the LCU server.

use league_client;

async fn create_connection() -> Result<league_client::Client, league_client::Error> {
    let client = league_client::Client::builder()?.insecure(true).build()?;
    Ok(client)
}

Structsยง

Client
ClientBuilder