Navigation Menu

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

Commit

Permalink
docs: http: link to relevant net.Socket methods
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Nov 2, 2011
1 parent 9ad27f7 commit 1ba834b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions doc/api/http.markdown
Expand Up @@ -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

Expand Down

0 comments on commit 1ba834b

Please sign in to comment.