Updated networking flow (markdown)
parent
897f4aaab0
commit
dfc09268c5
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue