RangerMauve / hypercore-fetch

Implementation of Fetch that uses the Hyper SDK for loading p2p content
MIT License
36 stars 12 forks source link

Extension message support #25

Closed RangerMauve closed 2 years ago

RangerMauve commented 2 years ago

Adds a /$/extenssions/ folder. You can do use an EventSource to listen for incoming extension messages, use GET on a specific extension name to load it and list peers replicating that extension type, and POST to an extension message (optionally with a peer's ID) to broadcast extension messages out.