-
Notifications
You must be signed in to change notification settings - Fork 96
what is an upgrader? #218
Comments
Hey @Deepp0925 An upgrader takes a raw connection (obtained from a specific transport, webrtc in this case) and upgrades it into a libp2p connection. This is, it encrypts the connection and multiplex it, according to the connection encryptor mechanism and multiplexer provided by I agree that this should be detailed in the |
I found it difficult to provide the correct I thought I found the answer in this excellent code: https://github.com/libp2p/js-libp2p-examples/tree/master/chat - but then realized it is and older, deprecated version of I have scoured the Any pointers would be greatly appreciated. Edit: All of my expected peers are running in node,js, not browser. |
I have created a PR to my own fork of |
This is from an old workshop, but we should check on updating it!
|
Will do. Thank you. |
Is there a doc change required here @vasco-santos, or can be closed? @daviddahl were you able to get the upgrader working? |
We should probably improve our description about the libp2p upgrader in https://github.com/libp2p/js-libp2p-interfaces/tree/master/src/transport#upgrader. I am closing this issue and opening a new one in the interfaces repo |
how to create one?
The text was updated successfully, but these errors were encountered: