Function libp2p::tls::make_client_config

pub fn make_client_config(
    keypair: &Keypair,
    remote_peer_id: Option<PeerId>
) -> Result<ClientConfig, GenError>
Available on crate feature tls only.
Expand description

Create a TLS client configuration for libp2p.