blob: 3de2598e0b41f5f3af1469beb60f1b0a800b254f [file] [log] [blame]
#ifndef _PROXYDETECT_H_
#define _PROXYDETECT_H_
#include "talk/base/proxyinfo.h"
// Auto-detect the proxy server. Returns true if a proxy is configured,
// although hostname may be empty if the proxy is not required for the given URL.
bool GetProxySettingsForUrl(const char* agent, const char* url,
talk_base::ProxyInfo& proxy,
bool long_operation = false);
#endif // _PROXYDETECT_H_