Skip to content

Commit

Permalink
Merge pull request #11 from kousu/master
Browse files Browse the repository at this point in the history
spelling and flow
  • Loading branch information
majek committed Mar 5, 2014
2 parents e4eb146 + d56cb60 commit 1db3e34
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

WebSocket-multiplex
===================

Expand Down Expand Up @@ -76,7 +75,7 @@ directory.
Protocol
--------

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

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

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

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

0 comments on commit 1db3e34

Please sign in to comment.