Function libp2p::tls::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.