diff --git a/networking-flow.md b/networking-flow.md index 7f85da2..1b722d2 100644 --- a/networking-flow.md +++ b/networking-flow.md @@ -45,7 +45,11 @@ vendor/nim-libp2p/libp2p/switch.nim: vendor/nim-libp2p/libp2p/multistream.nim: +- MultistreamSelect.select(Connection) + - calls MultistreamSelect.select(Connection, "") +- MultistreamSelect.select(Connection, proto: string) + - calls MultistreamSelect.select(Connection, @[]) - MultistreamSelect.select(Connection, proto: seq[string]) - awaits Connection.write(codec: string) - if there's a `proto` argument, it awaits Connection.writeLp() - only on the first seq item - - awaits and returns Connection.readLp() \ No newline at end of file + - awaits and returns Connection.readLp()