7 #include "IWebLoadRequest.h"
8 #include "WebPostData.h"
29 const TWebRequestId requestId,
31 const HttpVerbs::Values httpVerb,
32 const std::string& url,
34 void*
const pUserData,
36 const std::string& userAgent,
38 const int timeoutInSeconds,
39 const std::map<std::string, std::string> httpRequestHeaders,
40 const std::map<std::string, WebPostData> httpPostData,
41 const bool shouldCacheAggressively,
43 const bool shouldCacheResponse,
44 const std::vector<std::string>& acceptableMimeTypes,
45 const std::vector<std::string>& requiredResponseHeaders);
54 HttpVerbs::Values GetHttpVerb()
const;
55 std::string GetUrl()
const;
57 void* GetUserData()
const;
59 std::string GetUserAgent()
const;
60 int GetRetryLimit()
const;
61 int GetTimeoutInSeconds()
const;
62 const std::map<std::string, std::string>& GetHttpRequestHeaders()
const;
63 const std::map<std::string, WebPostData>& GetHttpPostData()
const;
64 TWebRequestId GetRequestId()
const;
65 bool ShouldCacheAggressively()
const;
66 bool CacheOnly()
const;
67 bool ShouldCacheResponse()
const;
68 const std::vector<std::string>& GetAcceptableMimeTypes()
const;
69 const std::vector<std::string>& GetRequiredResponseHeaders()
const;
73 const TWebRequestId m_requestId;
74 const HttpVerbs::Values m_httpVerb;
75 const std::string m_url;
77 void*
const m_pUserData;
78 const std::string m_userAgent;
80 const int m_retryLimit;
81 const int m_timeoutInSeconds;
82 const std::map<std::string, std::string> m_httpRequestHeaders;
83 const std::map<std::string, WebPostData> m_httpPostData;
84 const bool m_shouldCacheAggressively;
85 const bool m_cacheOnly;
86 const bool m_shouldCacheResponse;
87 const std::vector<std::string> m_acceptableMimeTypes;
88 const std::vector<std::string> m_requiredResponseHeaders;