feat: Added support for all proxy modes (#24937)
* feat: Added support for all proxy modes This commit extended setProxy to support all proxy modes including direct, auto_detect, pac_script, fixed_servers and system. * feat: New api for reload proxy configurations
This commit is contained in:
parent
33ac7dbd48
commit
201fc11b4b
4 changed files with 155 additions and 18 deletions
|
@ -95,6 +95,7 @@ class Session : public gin::Wrappable<Session>,
|
|||
v8::Local<v8::Promise> ClearStorageData(gin::Arguments* args);
|
||||
void FlushStorageData();
|
||||
v8::Local<v8::Promise> SetProxy(gin::Arguments* args);
|
||||
v8::Local<v8::Promise> ForceReloadProxyConfig();
|
||||
void SetDownloadPath(const base::FilePath& path);
|
||||
void EnableNetworkEmulation(const gin_helper::Dictionary& options);
|
||||
void DisableNetworkEmulation();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue