Builder that can be used for WebRequest construction. More...
#include <WebRequestBuilder.h>
Public Member Functions | |
WebRequestBuilder (const TWebRequestId requestId, Eegeo::Web::IWebRequestService &webRequestService, Helpers::IHttpCache &httpCache, const Eegeo::Web::HttpVerbs::Values httpVerb, const std::string &url, IWebLoadRequestCompletionCallback &callback, Helpers::UrlHelpers::IUrlEncoder &encoder) | |
WebRequestBuilder & | AddHeader (const std::string &headerFieldName, const std::string &value) |
WebRequestBuilder & | AddQueryParam (const std::string &keyName, const std::string &value) |
WebRequestBuilder & | AddFormData (const std::string &keyName, const std::string &value) |
WebRequestBuilder & | AddPostData (const std::string &keyName, const WebPostData &postData) |
WebRequestBuilder & | SetUserData (void *pUserData) |
WebRequestBuilder & | SetPostBodyData (const WebPostData &bodyData) |
WebRequestBuilder & | SetUserAgent (const std::string &userAgent) |
WebRequestBuilder & | SetRetryLimit (const u32 retryLimit) |
WebRequestBuilder & | SetTimeout (const u32 timeoutInSeconds) |
WebRequestBuilder & | SetShouldCacheAggressively (const bool shouldCacheAggressively) |
WebRequestBuilder & | SetShouldRequestOnlyFromCache (const bool cacheOnly) |
WebRequestBuilder & | SetShouldCacheResponse (const bool cacheResponse) |
WebRequestBuilder & | SetAllowCacheFetchWithoutHeaders (const bool allowCacheFetchWithoutHeaders) |
WebRequestBuilder & | AcceptContentType (const std::string &mimeType) |
WebRequestBuilder & | AcceptBinaryContentTypes () |
WebRequestBuilder & | AcceptProxyWorkaroundBinaryContentTypes () |
WebRequestBuilder & | AcceptTextureContentTypes () |
WebRequestBuilder & | RequireResponseHeader (const std::string &requiredHeaderName) |
Eegeo::Web::IWebLoadRequest * | Build () |
bool | HasPostBodyData () |
Builder that can be used for WebRequest construction.