Skip to content

Commit

Permalink
[doc] Fix typos in API docs (#1165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vantablack authored and lpinca committed Jul 5, 2017
1 parent 833766f commit afb36e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/ws.md
Expand Up @@ -136,7 +136,7 @@ when the HTTP server is passed via the `server` option, this method is called
automatically. When operating in "noServer" mode, this method must be called
manually.

If the upgrade is successfull, the `callback` is called with a `WebSocket`
If the upgrade is successful, the `callback` is called with a `WebSocket`
object as parameter.

### server.shouldHandle(request)
Expand All @@ -149,7 +149,7 @@ against the `path` option if provided.
The return value, `true` or `false`, determines whether or not to accept the
handshake.

This method can be overriden when a custom handling logic is required.
This method can be overridden when a custom handling logic is required.

## Class: WebSocket

Expand Down Expand Up @@ -285,7 +285,7 @@ A string indicating the type of binary data being transmitted by the connection.
This should be one of "nodebuffer", "arraybuffer" or "fragments". Defaults to
"nodebuffer". Type "fragments" will emit the array of fragments as received from
the sender, without copyfull concatenation, which is useful for the performance
of binary protocols transfering large messages with multiple fragments.
of binary protocols transferring large messages with multiple fragments.

### websocket.bufferedAmount

Expand Down

0 comments on commit afb36e9

Please sign in to comment.