libp2p::tls

Function 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.