7 #include "IWebLoadRequest.h"
8 #include "WebPostData.h"
25 const TWebRequestId requestId,
27 const std::string& url,
28 const HttpVerbs::Values httpVerb,
29 const int httpStatusCode,
30 void*
const pUserData,
31 const TResourceData* bodyData,
32 const TResourceData* headerData,
34 const WebLoadResponseCompletionCode::Values completionCode);
38 bool IsSucceeded()
const;
39 bool IsErrored()
const;
40 bool IsCancelled()
const;
43 std::string GetUrl()
const;
44 std::string GetBaseUrl()
const;
45 HttpVerbs::Values GetHttpVerb()
const;
46 int GetHttpStatusCode()
const;
47 void* GetUserData()
const;
48 const TResourceData& GetHeaderData()
const;
49 const TResourceData& GetBodyData()
const;
52 bool MatchesRequestId(
const TWebRequestId requestId)
const;
53 TWebRequestId GetRequestId()
const;
56 const TResourceData* TransferResourceDataOwnership();
59 const TWebRequestId m_requestId;
62 const std::string m_url;
63 const HttpVerbs::Values m_httpVerb;
64 const int m_httpStatusCode;
65 void*
const m_pUserData;
68 const TResourceData* m_pHeaderData;
69 const TResourceData* m_pBodyData;
72 const WebLoadResponseCompletionCode::Values m_completionCode;