We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee30191 commit 4c90ce3Copy full SHA for 4c90ce3
1 file changed
README.md
@@ -19,13 +19,16 @@ Usage
19
20
Create a Client object to start working.
21
Host and port can be passed to the constructor or set afterwards.
22
-They have sensible defaults.
+They have sensible defaults.
23
24
var memcache = require('./memcache');
25
26
var client = new memcache.Client(port, host);
27
client.port = 11211;
28
client.host = 'localhost';
29
+
30
+ // connect to the memcache server
31
+ client.connect()
32
33
The Client object emits 4 important events - connect, close, timeout and error.
34
0 commit comments