Skip to content

Commit 1db3e34

Browse files
committed
Merge pull request #11 from kousu/master
spelling and flow
2 parents e4eb146 + d56cb60 commit 1db3e34

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
WebSocket-multiplex
32
===================
43

@@ -76,7 +75,7 @@ directory.
7675
Protocol
7776
--------
7877

79-
The underlying protocol is quite simple. Each message consists of
78+
The underlying protocol is quite simple. Each message is a string consisting of
8079
three comma separated parts: _type_, _topic_ and _payload_. There are
8180
three valid message types:
8281

@@ -87,11 +86,11 @@ three valid message types:
8786
Invalid messages like wrong unsubscriptions or publishes to a _topic_
8887
to which a client was not subscribed to are simply ignored.
8988

90-
This protocol assumes that both parties are genrally willing to
91-
copperate and no party can express any kind of errors. All invalid
89+
This protocol assumes that both parties are generally willing to
90+
cooperate and that no party makes errors. All invalid
9291
messages should be ignored.
9392

9493
It's important to notice that the namespace is shared between both
95-
parties and it is not a good idea to use the same topic names on the
96-
client and on the server side. Both parties may express a will to
97-
unsubscribe itself or other party from a topic.
94+
parties. It is not a good idea to use the same topic names on the
95+
client and on the server side because both parties may unsubscribe
96+
the other from a topic.

0 commit comments

Comments
 (0)