mirror of
https://github.com/fluencelabs/js-libp2p-secio
synced 2025-03-15 01:40:51 +00:00
docs(fix): readme typo (#107)
This commit is contained in:
parent
1329e9cc2d
commit
774267f08e
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user