All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Eegeo::Web::WebRequestBuilder Class Reference

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)
 
WebRequestBuilderAddHeader (const std::string &headerFieldName, const std::string &value)
 
WebRequestBuilderAddQueryParam (const std::string &keyName, const std::string &value)
 
WebRequestBuilderAddFormData (const std::string &keyName, const std::string &value)
 
WebRequestBuilderAddPostData (const std::string &keyName, const WebPostData &postData)
 
WebRequestBuilderSetUserData (void *pUserData)
 
WebRequestBuilderSetPostBodyData (const WebPostData &bodyData)
 
WebRequestBuilderSetUserAgent (const std::string &userAgent)
 
WebRequestBuilderSetRetryLimit (const u32 retryLimit)
 
WebRequestBuilderSetTimeout (const u32 timeoutInSeconds)
 
WebRequestBuilderSetShouldCacheAggressively (const bool shouldCacheAggressively)
 
WebRequestBuilderSetShouldRequestOnlyFromCache (const bool cacheOnly)
 
WebRequestBuilderSetShouldCacheResponse (const bool cacheResponse)
 
WebRequestBuilderSetAllowCacheFetchWithoutHeaders (const bool allowCacheFetchWithoutHeaders)
 
WebRequestBuilderAcceptContentType (const std::string &mimeType)
 
WebRequestBuilderAcceptBinaryContentTypes ()
 
WebRequestBuilderAcceptProxyWorkaroundBinaryContentTypes ()
 
WebRequestBuilderAcceptTextureContentTypes ()
 
WebRequestBuilderRequireResponseHeader (const std::string &requiredHeaderName)
 
Eegeo::Web::IWebLoadRequestBuild ()
 
bool HasPostBodyData ()
 

Detailed Description

Builder that can be used for WebRequest construction.


The documentation for this class was generated from the following files: