Skip to content

Commit

Permalink
fix: drop number of protocols
Browse files Browse the repository at this point in the history
  • Loading branch information
alanshaw committed Sep 4, 2019
1 parent bd59a9f commit 6ea76d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ So a remote side asking for a protocol listing would look like this:
ls\n

# response
<varint-total-response-size-in-bytes><varint-number-of-protocols>
<varint-total-response-size-in-bytes>
<varint-protocol-length><multicodec-of-available-protocol>\n
<varint-protocol-length><multicodec-of-available-protocol>\n
<varint-protocol-length><multicodec-of-available-protocol>\n
Expand Down Expand Up @@ -168,7 +168,7 @@ For example

```
> <varint-ls-length>ls\n
< <varint-ls-response-length><varint-number-of-protocols><varint-protocol-length><protocol>\n
< <varint-ls-response-length><varint-protocol-length><protocol>\n
< <varint-protocol-length><protocol>\n
# ...more protocols
< \n
Expand Down

0 comments on commit 6ea76d7

Please sign in to comment.