Skip to content

Commit

Permalink
fix typo in README
Browse files Browse the repository at this point in the history
encypted -> encrypted
  • Loading branch information
nyx committed May 15, 2015
1 parent 62c154c commit 066d78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ws.md
Expand Up @@ -31,7 +31,7 @@ Either `port` or `server` must be provided, otherwise you might enable
* `info` Object:
* `origin` String: The value in the Origin header indicated by the client.
* `req` http.ClientRequest: The client HTTP GET request.
* `secure` Boolean: `true` if `req.connection.authorized` or `req.connection.encypted` is set.
* `secure` Boolean: `true` if `req.connection.authorized` or `req.connection.encrypted` is set.
* `cb` Function: A callback that must be called by the user upon inspection of the `info` fields. Arguments in this callback are:
* `result` Boolean: Whether the user accepts or not the handshake.
* `code` Number: If `result` is `false` this field determines the HTTP error status code to be sent to the client.
Expand Down

0 comments on commit 066d78b

Please sign in to comment.