Session.setProxy method
Session › setProxy
Unofficial
Sets the proxy settings.Signature:
setProxy(config: ElectronConfig): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| config | ElectronConfig | The proxy configuration. |
Returns: Promise<void> — A promise that resolves when the proxy setting process is complete.