static S loadPageWithTimeout(long timeout, S url) { ret loadPageWithTimeout(url, timeout); } static S loadPageWithTimeout(S url, long timeout) ctex { ping(); url = loadPage_preprocess(url); print("Loading with timeout: " + hideCredentials(url)); URL _url = new URL(url); ret loadPage( setURLConnectionTimeouts(_url.openConnection(), timeout), _url); } sS loadPageWithTimeout(S url, double timeoutSeconds) { ret loadPageWithTimeout(url, toMS(timeoutSeconds)); } sS loadPageWithTimeout(double timeoutSeconds, S url) { ret loadPageWithTimeout(url, timeoutSeconds); }