How to use SetProxyExclusions in 7.7.5?

David_Z

Client
Регистрация
01.06.2022
Сообщения
18
Благодарностей
0
Баллы
1
I found that there's this new feature in 7.7.5.0

Added the ability to allow the execution of selected sites or requests without a proxy in the Chromium browser. Added the Instance.SetProxyExclusions(IEnumerable<string> exclusions) method to the API and the Exclusions property to the ProxySettings class used in the Instance.SetProxy(ProxySettings proxySettings, NetworkSettings networkSettings) method.
Can i use this function to exclude all js files loading via proxy?
i need an example, thanks
 

David_Z

Client
Регистрация
01.06.2022
Сообщения
18
Благодарностей
0
Баллы
1
@VladZen need help plz

I tried this but the IP changed to the proxy IP.
111792


it works only when i use this code:

C#:
var exclusions = new List<string>
        {
            "https://api.ipify.org/",
        };
instance.SetProxyExclusions(exclusions);
I should type the whole URL
 
Последнее редактирование:

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 233
Благодарностей
5 846
Баллы
113

sanyatovk

Client
Регистрация
28.05.2016
Сообщения
38
Благодарностей
1
Баллы
8
delete
 
Последнее редактирование:

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)