Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorkoichik <koichik@improvement.jp>2011-07-16 04:45:43 +0400
committerkoichik <koichik@improvement.jp>2011-07-16 04:45:43 +0400
commite8bc80cf152973037519f37da4d356a05cc704e1 (patch)
tree0225fbd9f8c3fa50a7d316ad034815a50d469f5d /doc
parent9a16f1c7d0ab6847bb8826e7e08eb7853a5a5f77 (diff)
Doc improvements
Fixes #1334.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/http.markdown8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/http.markdown b/doc/api/http.markdown
index 7fe52403a59..d789ce7bef8 100644
--- a/doc/api/http.markdown
+++ b/doc/api/http.markdown
@@ -38,10 +38,10 @@ per connection (in the case of keep-alive connections).
### Event: 'connection'
-`function (stream) { }`
+`function (socket) { }`
- When a new TCP stream is established. `stream` is an object of type
- `net.Stream`. Usually users will not want to access this event. The
+ 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`.
### Event: 'close'
@@ -239,7 +239,7 @@ Resumes a paused request.
### request.connection
-The `net.Stream` object associated with the connection.
+The `net.Socket` object associated with the connection.
With HTTPS support, use request.connection.verifyPeer() and