Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

readme fixes

  • Loading branch information...
commit e063e8c02fe1b16bcf88fef0bde859a1fd3b25aa 1 parent 3a68086
@iamcal iamcal authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
View
10 README.md
@@ -55,20 +55,19 @@ After connecting, you can start to make requests.
});
- client.set('key', 'value', function(success, error){
+ client.set('key', 'value', function(result, error){
// lifetime is optional. the default is
// to never expire (0)
}, lifetime);
- client.del('key', function(success, error){
+ client.delete('key', function(result, error){
// delete a key from cache.
- // response?
});
- client.version(function(version, error)){
+ client.version(function(result, error)){
// grab the server version
});
@@ -102,3 +101,6 @@ Once you're done, close the connection.
client.close();
There might be bugs. I'd like to know about them.
+
+I bet you also want to read the <a href="http://github.com/memcached/memcached/blob/master/doc/protocol.txt">Memcached
+protocol doc</a>. It's exciting! It also explains possible error messages.
Please sign in to comment.
Something went wrong with that request. Please try again.