1 #ifndef HTTPUTILS_H 2 #define HTTPUTILS_H 3 4 #include <QtCore> 5 6 class Http; 7 8 class HttpUtils { 9 10 public: 11 static Http ¬Cached(); 12 static Http &cached(); 13 static Http &yt(); 14 static Http &stealthAndNotCached(); 15 static void clearCaches(); 16 17 static const QByteArray &userAgent(); 18 static const QByteArray &stealthUserAgent(); 19 20 private: HttpUtils()21 HttpUtils() { } 22 23 }; 24 25 #endif // HTTPUTILS_H 26