1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

client::close method

This commit is contained in:
Tim-Smart
2010-09-17 23:13:29 +12:00
parent 743eb00234
commit 5a56d0fa03

View File

@@ -477,6 +477,11 @@ RedisClient.prototype.send_command = function () {
}
};
RedisClient.prototype.close = function close () {
this.stream._events = {};
return this.stream.end();
};
// http://code.google.com/p/redis/wiki/CommandReference
exports.commands = [
// Commands operating on all value types