docs(fix): readme typo (#107)

This commit is contained in:
Maciej Krüger 2019-08-08 12:50:29 +02:00 committed by Jacob Heun
parent 1329e9cc2d
commit 774267f08e

View File

@ -53,7 +53,7 @@ The current `secio` tag, usable in `multistream`.
- `remotePeerId: PeerId` - A PeerId object containing the Public and/or Id of the node we are doing the SECIO handshake with.
- `callback: Function` - Optional, Called if an error happens during the initialization.
Returns an encrypted [Connection object](https://github.com/libp2p/interface-connection) that is the upgraded `plainTextConnection` with now having every byte encripted.
Returns an encrypted [Connection object](https://github.com/libp2p/interface-connection) that is the upgraded `plainTextConnection` with now having every byte encrypted.
Both plainTextConnection and encryptedConnection are at their base, PullStreams.