Skip to content

Commit

Permalink
Fix typo in README quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
elliothatch committed Nov 11, 2016
1 parent 8f8ab2c commit 52a734f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -63,7 +63,7 @@ socket.emit('/hello', {

Response:
```js
socket.on('/echo', function(res) {
socket.on('/hello', function(res) {
// res: {
// status: 200,
// headers: {},
Expand Down Expand Up @@ -142,7 +142,7 @@ The url of the currently handled request. Some routing functions rewrite this, s
### req.originalUrl
This property is much like req.url; however, it retains the original request
URL, allowing you to rewrite req.url freely for internal routing purposes. For
example, the “mounting” feature of app.use() will rewrite req.url to strip the
example, the “mounting” feature of app.use() will rewrite req.url to strip the
mount point.

### req.message
Expand Down Expand Up @@ -200,7 +200,7 @@ Handle to the request object associated with this response.
Sets the HTTP status for the response.

### res.set(field, value)
Sets the response’s HTTP header field to value.
Sets the response’s HTTP header field to value.

### res.header(field, value)
Alias of res.set()
Expand Down

0 comments on commit 52a734f

Please sign in to comment.