requestWithURL: method

Creates a Request object with the specified HTTP or HTTPS URL.

Syntax

+ ( id ) requestWithURL : ( NSURL * ) newURL

Parameters

Returns

instance of the Request class.
 Request *request = [Request requestWithURL:[[NSURL alloc] initWithString:applicationEndpoint]];