20 #ifndef __kprotocolmanager_h__
21 #define __kprotocolmanager_h__
23 #include <tqstringlist.h>
25 #include <tdeapplication.h>
26 #include <tdeio/global.h>
29 #define DEFAULT_USERAGENT_STRING ""
67 static TQString defaultUserAgent();
80 static TQString defaultUserAgent(
const TQString &keys);
93 static TQString userAgentForHost(
const TQString &hostname );
105 static int readTimeout();
113 static int connectTimeout();
121 static int proxyConnectTimeout();
129 static int responseTimeout();
140 static bool useProxy();
156 static bool useReverseProxy();
180 static ProxyType proxyType();
205 static ProxyAuthMode proxyAuthMode();
216 static TQString noProxyFor();
226 static TQString noProxyForRaw();
239 static TQString proxyFor(
const TQString& protocol );
257 static TQString proxyForURL(
const KURL& url );
264 static void badProxy(
const TQString & proxy );
270 static TQString proxyConfigScript();
282 static bool useCache();
290 static int maxCacheAge();
302 static int maxCacheSize();
308 static TQString cacheDir();
324 static bool autoResume();
331 static bool markPartial();
343 static int minimumKeepSize();
352 static bool persistentProxyConnection();
358 static bool persistentConnections();
367 static void reparseConfiguration();
379 static TQString slaveProtocol(
const KURL &url, TQString &proxy);
385 static TDEConfig *config();
387 static TDEConfig *http_config();
Provides information about I/O (Internet, etc.) settings chosen/set by the end user.
ProxyAuthMode
Proxy authorization modes.
ProxyType
Types of proxy configuration.
CacheControl
Specifies how to use the cache.