electron.net use for remote transport #351
psiservices-ccounterman
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Currently, the it's not possible to change a way how a request is sent. There are two workarounds:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having problems with people running my electron app behind a proxy. I've fixed some issues by using
https://www.electronjs.org/docs/latest/api/net which "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."
I'm fixing more, but realized that it is affecting the logging as well.
src/transports/remote.js uses http and https.
Before I do anything difficult, is there a currently-supported way to swap in the electron net API or substitute a different remote transport?
Is there a reason electron-log shouldn't use electron.net as the norm?
Beta Was this translation helpful? Give feedback.
All reactions