requestWithURL: method

Factory method which returns a request object.

Syntax

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

Parameters

Example 1

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