summaryrefslogtreecommitdiffstats
path: root/third_party/libjingle/files/talk/base/proxydetect.h
blob: 3de2598e0b41f5f3af1469beb60f1b0a800b254f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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_