requestWithURL:usingCache:andCachePolicy:(NSURL *, id< SDMCacheDelegate >, CachePolicy) method

Convenience constructor with URL, cache, and cache policy.

Syntax

public static virtual id requestWithURL:usingCache:andCachePolicy: (NSURL * newURL, id< SDMCacheDelegate > cache, CachePolicy policy)

Parameters

Returns

ODPRequest object. Usage ODPRequest * l_request=[ODPRequest requestWithURL:[NSURL URLWithString:Url] usingCache:cache andCachePolicy:policy]; .... add the necessary request headers