Replies: 2 comments 2 replies
-
These all do slightly different things:
|
Beta Was this translation helpful? Give feedback.
-
Closing as I think this has been answered. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I came across two ways of implementing custom protocols in js-libp2p and I'm curious how they compare and when would you chose one over the other.
dialProtocol
andhandle
Creating a topology with the registrar
Using the registrar, you can also register custom protocols, essentially creating a topology, for example:
https://github.com/libp2p/js-libp2p/blob/main/doc/SERVICES.md?plain=1#L302-L315
Beta Was this translation helpful? Give feedback.
All reactions