Called when socket
is attached to request
after being persisted because of the keep-alive options. Default behavior is to:
socket.ref();
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
.