holepunchto / hyperswarm

A distributed networking stack for connecting peers.
https://docs.holepunch.to
MIT License
1.04k stars 84 forks source link

suggestion: make utp-native as an option #68

Open gitawego opened 3 years ago

gitawego commented 3 years ago

as we are behind company proxy, we neither can download utp-native binary, nor build when installing. I'd suggest make utp-native as an option when instantiating hyperswarm (for @hyperswarm/network), so we can download manually utp-native, and provide to hyperswarm via an option. such as:

const swarm = hyperswarm({
   utpProvider: our-predownloaded-utp-native
})

Thanks a lot.