Function libp2p_tls::make_server_config
source ยท pub fn make_server_config(keypair: &Keypair) -> Result<ServerConfig, GenError>
Expand description
Create a TLS server configuration for libp2p.
pub fn make_server_config(keypair: &Keypair) -> Result<ServerConfig, GenError>
Create a TLS server configuration for libp2p.