Skip to content

Commit e293cc5

Browse files
committed
docs for unannounce
1 parent a862c62 commit e293cc5

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
@@ -154,6 +154,10 @@ module.**
154154
a single parameter that is an `Error` or null.
155155

156156

157+
#### `dht.unannounce(infoHash, [port], [callback])`
158+
159+
Similar to `dht.announce` except it will unannounce you as a peer sharing an infoHash.
160+
157161
#### `arr = dht.toJSON()`
158162

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

0 commit comments

Comments
 (0)