Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Doc improvements
Browse files Browse the repository at this point in the history
corresponds to #1374 and #1334.
  • Loading branch information
koichik committed Jul 21, 2011
1 parent bbf7e8e commit 691497b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ per connection (in the case of keep-alive connections).

When a new TCP stream is established. `socket` is an object of type
`net.Socket`. Usually users will not want to access this event. The
`stream` can also be accessed at `request.connection`.
`socket` can also be accessed at `request.connection`.

### Event: 'close'

Expand Down Expand Up @@ -294,6 +294,9 @@ Example:

response.statusCode = 404;

After response header was sent to the client, this property indicates the
status code which was sent out.

### response.setHeader(name, value)

Sets a single header value for implicit headers. If this header already exists
Expand Down

0 comments on commit 691497b

Please sign in to comment.