Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

docs: http: link to relevant net.Socket methods

  • Loading branch information...
bnoordhuis committed Nov 2, 2011
1 parent 9ad27f7 commit 1ba834bd3fee57542479ab687f0030cf57968be4
Showing with 6 additions and 3 deletions.
  1. +6 −3 doc/api/http.markdown
@@ -681,17 +681,20 @@ Aborts a request. (New since v0.3.8.)
### request.setTimeout(timeout, [callback])

Once a socket is assigned to this request and is connected
socket.setTimeout(timeout, [callback]) will be called.
[socket.setTimeout(timeout, [callback])](net.html#socket.setTimeout)
will be called.

### request.setNoDelay(noDelay=true)

Once a socket is assigned to this request and is connected
socket.setNoDelay(noDelay) will be called.
[socket.setNoDelay(noDelay)](net.html#socket.setNoDelay)
will be called.

### request.setSocketKeepAlive(enable=false, [initialDelay])

Once a socket is assigned to this request and is connected
socket.setKeepAlive(enable, [initialDelay]) will be called.
[socket.setKeepAlive(enable, [initialDelay])](net.html#socket.setKeepAlive)
will be called.

## http.ClientResponse

0 comments on commit 1ba834b

Please sign in to comment.
You can’t perform that action at this time.