Skip to content

Commit

Permalink
Merge pull request #23 from nfriedly/patch-1
Browse files Browse the repository at this point in the history
Document client.shutdown() command
  • Loading branch information
smuthya authored Oct 20, 2023
2 parents 3f7f8db + 492aa5e commit 7bcf0f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/memcache-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ client.cmd("incr foo 5", { noreply: true });
// send any arbitrary data (remember \r\n)

client.send("set foo 0 0 5\r\nhello\r\n").then((r) => assert.deepEqual(r, ["STORED"]));

// disconnect from the memcached server(s)
client.shutdown();
```
## Commands with a method
Expand Down Expand Up @@ -361,6 +364,7 @@ For the `cas` command, `options` must contain a `casUniq` value that you receive
- `client.store(cmd, key, value, [optons], [callback])`
- `client.retrieve<ReturnValueType>(cmd, key, [options], [callback])`
- `client.xretrieve(cmd, key)`
- `client.shutdown()`
## License
Expand Down

0 comments on commit 7bcf0f7

Please sign in to comment.