Method: Ipfs::Client#dht_findProvs
- Defined in:
- lib/ipfs/client.rb
#dht_findProvs(hash, &block) ⇒ Object
39 40 41 42 |
# File 'lib/ipfs/client.rb', line 39 def dht_findProvs(hash, &block) res = @http_client.post("#{@api_endpoint}/api/v0/dht/findprovs?arg=#{hash}") res.body.each(&block) end |