Spencer T Brody
d8ceb0bc66
feat: add fetch protocol (#1036)
Adds three methods to implement the `/libp2p/fetch/0.0.1` protocol:
* `libp2p.fetch(peerId, key) => Promise<Uint8Array>`
* `libp2p.fetchService.registerLookupFunction(prefix, lookupFunction)`
* `libp2p.fetchService.unRegisterLookupFunction(prefix, [lookupFunction])`
Co-authored-by: achingbrain <alex@achingbrain.net>
2022-01-24 17:07:11 +00:00
..
2021-04-15 09:40:02 +02:00
2022-01-20 12:03:35 +00:00
2022-01-21 08:44:13 +00:00
2022-01-20 12:03:35 +00:00
2022-01-21 08:44:13 +00:00
2022-01-21 08:44:13 +00:00
2022-01-24 17:07:11 +00:00
2021-04-15 09:40:02 +02:00
2022-01-21 08:44:13 +00:00
2021-07-09 08:43:34 +02:00
2021-12-07 14:42:10 +00:00
2022-01-20 12:03:35 +00:00
2021-12-08 08:38:17 +00:00
2022-01-21 08:44:13 +00:00
2022-01-20 12:03:35 +00:00
2022-01-20 12:03:35 +00:00
2021-08-20 09:13:21 +02:00
2021-08-20 09:13:21 +02:00
2022-01-20 12:03:35 +00:00
2022-01-21 11:57:09 -06:00
2022-01-20 12:03:35 +00:00
2022-01-20 12:03:35 +00:00
2021-08-20 09:13:21 +02:00
2022-01-21 08:44:13 +00:00