Updated networking flow (markdown)

Ștefan Talpalaru 2020-03-04 00:10:15 +01:00
parent 897f4aaab0
commit dfc09268c5
1 changed files with 2 additions and 2 deletions

@ -40,8 +40,8 @@ vendor/nim-libp2p/libp2p/switch.nim:
- awaits MultistreamSelect.handle(Connection)
- Switch.upgradeIncoming.securedHandler(Connection, proto: string)
- awaits Secure.secure(Connection) and saves the result in `sconn` - this seems to be the same as `conn`
- for each MuxerProvider value in Switch.muxers, calls Multistream.addHandler(MuxerProvider.codec, MuxerProvider)
- awaits Multistream.handle(sconn: Connection)
- for each MuxerProvider value in Switch.muxers, calls MultistreamSelect.addHandler(MuxerProvider.codec, MuxerProvider)
- awaits MultistreamSelect.handle(sconn: Connection)
vendor/nim-libp2p/libp2p/multistream.nim: