libp2p-bistream

OTHER License

Stars
5

libp2p-bistream

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.

License