From 5b827a3a8c8015cb00bd5a92e086620fb4c7f2c7 Mon Sep 17 00:00:00 2001 From: Jesse O'Connor macPro2019 Date: Thu, 31 Oct 2019 01:58:35 +0100 Subject: [PATCH] doc: suggest doc for methods --- doc/api/http.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/http.md b/doc/api/http.md index 427f42a24c7a0d..432a4d2091e171 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -189,6 +189,8 @@ This method can be overridden by a particular `Agent` subclass. If this method returns a falsy value, the socket will be destroyed instead of persisting it for use with the next request. +`socket` can be an instance of {stream.Duplex} which is a superclass of Socket. + ### agent.reuseSocket(socket, request)