Open gpetrov opened 4 months ago
Can we have support for the native net.request in Electron? See https://www.electronjs.org/docs/latest/api/net
net.request
It is similar to the http and https modules of Node.js but uses Chromium's native networking library instead of the Node.js implementation, offering better support for web proxies. It also supports checking network status.
Should be pretty easy to implement by just using the net has protocol handler in [initProtocol ](https://github.com/hgouveia/node-downloader-helper/blob/master/src/index.js#L1078) when in Electron
net
@gpetrov yeap it seems a drop in replacement so can be a good option, i will look into this thanks for the suggestion
Can we have support for the native
net.request
in Electron? See https://www.electronjs.org/docs/latest/api/netIt is similar to the http and https modules of Node.js but uses Chromium's native networking library instead of the Node.js implementation, offering better support for web proxies. It also supports checking network status.
Should be pretty easy to implement by just using the
net
has protocol handler in [initProtocol ](https://github.com/hgouveia/node-downloader-helper/blob/master/src/index.js#L1078) when in Electron