Updated networking flow (markdown)
parent
e497cd8c1a
commit
71b2da777f
|
@ -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()
|
||||
- awaits and returns Connection.readLp()
|
||||
|
|
Loading…
Reference in New Issue