reuseSocket
Called when socket is attached to request after being persisted because of the keep-alive options. Default behavior is to:
socket.ref();Content copied to clipboard
This method can be overridden by a particular Agent subclass.
The socket argument can be an instance of net.Socket, a subclass of stream.Duplex.
Since
v8.1.0