ipfs-shipyard / w3rc

A Web3 Retrieval Client
MIT License
8 stars 2 forks source link

minimal HTTP content routing client #7

Closed willscott closed 3 years ago

rvagg commented 3 years ago

out of interest, what kinds of options might one expect to be passed here? or are we defining a consistent interface that's going to be copied for other transports and therefore expect a lot of option-chatter?

willscott commented 3 years ago

This is a good question. I imagine most transport-specific options would be preferably specified in the constructor to the transport, rather than at the content-routing fetch time.

I think we could imagine in the scope of one call to ask for: