From e293cc58dd8e5affc6770e23f3fab8fd95eef5e1 Mon Sep 17 00:00:00 2001 From: Mathias Buus Date: Tue, 9 Jan 2018 22:44:38 +0100 Subject: [PATCH] docs for unannounce --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c28cf2fc..dce20542 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,10 @@ module.** a single parameter that is an `Error` or null. +#### `dht.unannounce(infoHash, [port], [callback])` + +Similar to `dht.announce` except it will unannounce you as a peer sharing an infoHash. + #### `arr = dht.toJSON()` Returns the current state of the DHT, including DHT nodes and BEP44 values.