Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed some typos #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ message exchange (protocol security, namespace, protocol version, transport, etc

Messages can be sent and received by following this convention. **How** the messages
are encoded and framed depends on each transport, but generally boils down to
whether the transport has built-in framing (unidiretionally and/or bidirectionally).
whether the transport has built-in framing (unidirectionally and/or bidirectionally).

### Unidirectional transports

Expand All @@ -190,7 +190,7 @@ For `xhr-multipart`, the built-in MIME framing is used for the sake of consisten
When no built-in lightweight framing is available, and multiple messages need to be
delivered (i.e: buffered messages), the following is used:

`\ufffd` [message lenth] `\ufffd`
`\ufffd` [message length] `\ufffd`

Transports where the framing overhead is expensive (ie: when the xhr-polling
transport tries to send data to the server).
Expand Down Expand Up @@ -249,7 +249,7 @@ the server might want to respond with a error packet.
Sends a heartbeat. Heartbeats must be sent within the interval negotiated with
the server. It's up to the client to decide the padding (for example, if the
heartbeat timeout negotiated with the server is 20s, the client might want to
send a heartbeat evert 15s).
send a heartbeat every 15s).

### (`3`) Message

Expand Down