requestWithURL:usingCache: method

Factory method with url and cache.

Syntax

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

Parameters

Example 1

id<SDMRequesting> request = [SDMRequestBuilder requestWithURL:[[NSURL alloc] initWithString:"http://host:port/context/serviceDoc/"] usingCache:cache];