Skip to content

Commit 5b827a3

Browse files
committed
doc: suggest doc for methods
1 parent 2eec64c commit 5b827a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/api/http.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ This method can be overridden by a particular `Agent` subclass. If this
189189
method returns a falsy value, the socket will be destroyed instead of persisting
190190
it for use with the next request.
191191

192+
`socket` can be an instance of {stream.Duplex} which is a superclass of Socket.
193+
192194
### agent.reuseSocket(socket, request)
193195
<!-- YAML
194196
added: v8.1.0

0 commit comments

Comments
 (0)