mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-10 09:57:14 +00:00
Align explanation with previously altered example code (#1663)
Co-authored-by: Tim Makarios <git@freespoken.nz>
This commit is contained in:
parent
8e7f71b068
commit
cc3438ec37
@ -93,7 +93,8 @@
|
|||||||
//! let transport = tcp.upgrade(upgrade::Version::V1).authenticate(secio).multiplex(yamux);
|
//! let transport = tcp.upgrade(upgrade::Version::V1).authenticate(secio).multiplex(yamux);
|
||||||
//! # }
|
//! # }
|
||||||
//! ```
|
//! ```
|
||||||
//! In this example, `tcp_secio` is a new [`Transport`] that negotiates the secio protocol
|
//! In this example, `transport` is a new [`Transport`] that negotiates the
|
||||||
|
//! secio and yamux protocols
|
||||||
//! on all connections.
|
//! on all connections.
|
||||||
//!
|
//!
|
||||||
//! ## Network Behaviour
|
//! ## Network Behaviour
|
||||||
|
Loading…
x
Reference in New Issue
Block a user