Function tet_libp2p::build_tcp_ws_noise_mplex_remux[][src]

pub fn build_tcp_ws_noise_mplex_remux(
    keypair: Keypair
) -> Result<Boxed<(PeerId, StreamMuxerBox)>>

Builds an implementation of Transport that is suitable for usage with the Swarm.

The implementation supports TCP/IP, WebSockets over TCP/IP, noise as the encryption layer, and mplex or remux as the multiplexing layer.