libp2p::tls

Function make_server_config

pub fn make_server_config(keypair: &Keypair) -> Result<ServerConfig, GenError>
Available on crate feature tls only.
Expand description

Create a TLS server configuration for libp2p.