method ClientRequest.prototype.onSocketClientRequest.prototype.onSocket(socket: Socket): voidDeprecatedParameterssocket: SocketReturn Typevoid