requestWithURL:usingCache:andCachePolicy: method

Factory method with url, cache and a cache policy.

Syntax

+ ( id< SDMRequesting > ) requestWithURL : ( NSURL * ) newURL usingCache : ( id< SDMCacheDelegate > ) cache andCachePolicy : ( CachePolicy ) policy

Parameters

Example 1

id<SDMRequesting> request = [SDMRequestBuilder requestWithURL:[[NSURL alloc] initWithString:"http://vmw3815.wdf.sap.corp:50009/sap/opu/odata/iwfnd/RMTSAMPLEFLIGHT/"] usingCache:cache andCachePolicy:ReloadIfDifferentCachePolicy];