Skip to content

Commit 16c38f3

Browse files
committed
docs for unannounce
1 parent 2e3e58b commit 16c38f3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ module.**
152152
a single parameter that is an `Error` or null.
153153

154154

155+
#### `dht.unannounce(infoHash, [port], [callback])`
156+
157+
Similar to `dht.announce` except it will unannounce you as a peer sharing an infoHash.
158+
155159
#### `arr = dht.toJSON()`
156160

157161
Returns the current state of the DHT, including DHT nodes and BEP44 values.

0 commit comments

Comments
 (0)