pub fn new(leader_addr: String) -> Self {
        Self {
            addr: leader_addr,
            inner: reqwest::Client::new(),
        }
    }
/// Create a client with a leader node id and a node manager to get node
/// address by node id.
Create a client with a leader node id and a node manager to get node
address by node id.
Create a client with a leader node id and a node manager to get node address by node id .
pub fn new(leader_addr: String) -> Self {
        Self {
            addr: leader_addr,
            inner: reqwest::Client::new(),
        }
    }
pub fn new ( leader_addr : String ) -> Self { Self { addr : leader_addr , inner : reqwest :: Client :: new ( ) , } }
Create a client with a leader node id and a node manager to get node
address by node id.
Create a client with a leader node id and a node manager to get node address by node id .
leader_addr
String
leader_addr
String