Maintenance status: Experimental, work in progress
A very simple network behavior for libp2p that exposes binary duplex streams.
It works with the usual libp2p stack of transports and muxers, and allows application-level code to work directly on any number of bidirectional streams between peers.
See the example for a usage example.
Optionally, a managed mode is available, where the streams opened and accepted through this behavior may be managed outside of the main libp2p event loop. See examples/managed for an example.
Licensed under either of Apache License, Version 2.0 or MIT license at your option.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.