From c0b82b74d172ea7c5d050d1c1f8388e1d18ec843 Mon Sep 17 00:00:00 2001 From: Shawn Jonnet Date: Wed, 22 Aug 2012 13:31:22 -0300 Subject: [PATCH] createClient is deprecated http.createClient is deprecated. Use `http.request` instead. --- lib/soda/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/soda/client.js b/lib/soda/client.js index 52fc76b..7ad1ee3 100755 --- a/lib/soda/client.js +++ b/lib/soda/client.js @@ -84,7 +84,7 @@ Client.prototype.command = function(cmd, args, fn){ this.emit('command', cmd, args); // HTTP client - var client = http.createClient(this.port, this.host); + var client = http.request(this.port, this.host); // Path construction var path = this.commandPath(cmd, args);