requestWithURL:usingCache: method

Factory method which returns a request object created using url and cache.

Syntax

+ ( id< Requesting > ) requestWithURL : ( NSURL * ) newURL usingCache : ( id< CacheDelegate > ) cache

Parameters

Example 1

[RequestBuilder setRequestType:HTTPRequestType];
id<Requesting> request = [RequestBuilder requestWithURL:[[NSURL alloc] initWithString:applicationEndpoint] usingCache:self];