Skip to content

Commit

Permalink
docs for unannounce
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Jan 11, 2018
1 parent a862c62 commit e293cc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e293cc5

Please sign in to comment.