David Trejo
5afa763c89
readme code formatting
13 years ago
Matt Ranney
642df49924
Further document no_ready_check.
13 years ago
Matt Ranney
b9734d13eb
Add socket_nodelay option to control Nagle. Fixes [GH-33]
13 years ago
Matt Ranney
336030a33d
Fix documentation for detect_buffers.
13 years ago
Matt Ranney
461ed06fab
Doc update for [GH-148] fix.
13 years ago
Matt Ranney
69092a3f26
[GH-67] - hgetall now returns null instead of {} on empty reply
13 years ago
Dayananda Nanjundappa
a6670edb9a
Support for retrieving data as Buffer on a per command basis
This is achieved by introducing a new option to the createClient method called bufferedInput.
If bufferedInput is set to true, then the returned data will be a Buffer if the command argument passed is a buffer
E.g.
var redis = require("redis"),
client = redis.createClient(<port>, <host>, {buffered_input: true});
client.set("foo_rand000000000000", "OK");
// The below get request will return a utf8 string
client.get("foo_rand000000000000", function (err, reply) {
console.log(reply.toString()); // Will print `OK`
});
// The below get request will return a Buffer as the key is specified as a Buffer
client.get(new Buffer("foo_rand000000000000"), function (err, reply) {
console.log(reply.toString()); // Will print `<Buffer 4f 4b>`
});
client.end();
13 years ago
Matt Ranney
04b4db8723
Mention EVAL.
14 years ago
Matt Ranney
bd21c73b81
Move usage example to the top.
14 years ago
Matt Ranney
68774e071c
Update description of hiredis and JS parser.
14 years ago
Matt Ranney
707c9ab3df
Add static list of commands to those downloaded from redis.io.
14 years ago
Matt Ranney
3d36711563
Auto update of new commands from redis.io (Dave Hoover)
Run this: node generate_commands.js
To fetch redis.io/commands.json and save it to a file that node_redis will read at startup.
14 years ago
Matt Ranney
f10ff9e916
Lots of bugs fixed.
* connection error did not properly trigger reconnection logic [GH-85]
* client.hmget(key, [val1, val2]) was not expanding properly [GH-66]
* client.quit() while in pub/sub mode would throw an error [GH-87]
* client.multi(['hmset', 'key', {foo: 'bar'}]) fails [GH-92]
14 years ago
Matt Ranney
2fcc947f11
Add `MONITOR` command and special monitor command reply parsing.
14 years ago
Matt Ranney
1a14e24faa
Add magical auth command.
Authentication is now remembered by the client and will be automatically sent to the server
on every connection, including any reconnections.
14 years ago
Matt Ranney
99ae085e40
Document ready check changes.
14 years ago
Matt Ranney
8cf8c99763
Update Redis commands link to redis.io.
14 years ago
Matt Ranney
81ac292fce
Fix markdown indentation, I think.
14 years ago
Matt Ranney
ccce845cc2
Some bug fixes:
* An important bug fix in reconnection logic. Previously, reply callbacks would be invoked twice after
a reconnect.
* Changed error callback argument to be an actual Error object.
New feature:
* Add friendly syntax for HMSET using an object.
14 years ago
Matt Ranney
cfe0df1c3f
Remove warning about missing hiredis. You probably do want it though.
14 years ago
Matt Ranney
b81da6d8fc
Support for multiple response parsers and hiredis C library from Pieter Noordhuis.
Return Strings instead of Buffers by default.
Empty nested mb reply bug fix.
14 years ago
Matt Ranney
b907364573
Support for multiple reply parsers including hiredis.
Several parsing bugs fixed in JavaScript.
Some new config options that need to be better documented.
14 years ago
Matt Ranney
05e9699817
Fix for null MULTI response when WATCH condition fails.
14 years ago
Matt Ranney
1eb3f6a1aa
Add "drain" and "idle" events.
14 years ago
Matt Ranney
6bda787181
Bottom spacer.
14 years ago
Matt Ranney
b097bf2ccd
Add bottom spacer.
14 years ago
Matt Ranney
d51abad43f
Minor wording tweaks.
14 years ago
Matt Ranney
d0ffb47fbb
Update contributors info.
14 years ago
Matt Ranney
b4f5891da3
Draw attention to how awesome and trend-setting our speed techniques are.
14 years ago
Matt Ranney
8659ecda85
Update contributors info.
14 years ago
Matt Ranney
aab093848f
Put npm install instructions right up top.
14 years ago
Matt Ranney
85b0f6009d
Update documentation for awesome new MULTI syntax.
14 years ago
Matt Ranney
f239a32ce8
Bump README.md so Github will notice it.
14 years ago
Matt Ranney
a6bfae83b9
Docs and example of listening for "error" event.
14 years ago
Matt Ranney
abd76f8354
Update docs for end() and quit()
14 years ago
Matt Ranney
f4c7280fb6
Updated outlandish speed claims.
14 years ago
Matt Ranney
1ff6047b01
Update MULTI example and description.
14 years ago
Matt Ranney
6fac084ab8
Fix typo.
14 years ago
Matt Ranney
f3358d9d9f
Move extras to Extras section.
14 years ago
Matt Ranney
0f2de13285
Update docs for client.quit() and other client properties.
14 years ago
Matt Ranney
eb11634ab6
Add docs for pub/sub
14 years ago
Matt Ranney
13e7efc531
Update example for new API.
14 years ago
Matt Ranney
a8573ea223
Remove TODO.
14 years ago
Matt Ranney
fb786ced80
Fix typo.
14 years ago
Matt Ranney
71c584f186
Markdown quirks.
14 years ago
Matt Ranney
78cb4105ca
Update example.
14 years ago
Matt Ranney
12542e4ccd
Formally describe API. Add "why" section.
14 years ago
Matt Ranney
c4b7c65530
Update documentation.
14 years ago
Matt Ranney
40b69a4204
Update documentation.
14 years ago
Matt Ranney
0012228cf6
Update documentation.
14 years ago