diff --git a/networking-flow.md b/networking-flow.md index ebdee26..2fa69af 100644 --- a/networking-flow.md +++ b/networking-flow.md @@ -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: