View Single Post
  #1074  
Old 14.02.2020, 16:49
Heinz Heinz is offline
Baby Loader
 
Join Date: Feb 2020
Posts: 6
Default

Quote:
Originally Posted by mgpai View Post
There are no methods which return connection details of a download. There are also no methods or any setting which can be used to assign prioirty to proxies....
Ok, thanks for your reply!

Another approach to solve the problem:

I know we can ckeck if a Proxy is up by using the getPage method in a try catch blog.

But is it possible in any way to measure the transfer speed of the proxy in a simple way?

Code:
//Is proxy up
var browser = getBrowser();
browser.setProxy(...);
browser.getPage("http://www.google.com");

//Is proxy fast
var browser = getBrowser();
browser.setProxy(...);
int time = browser.getLoadTime("http://www.google.com");
if(time....
Reply With Quote