Initialize the Request object with a HTTP or HTTPS url.
Syntax
-
(
id
)
initWithURL
:
(
NSURL *
)
newURL
Parameters
-
newURL –
Object of NSURL class.
Returns
Returns an instance of the Request class.
Example 1
Request *request = [Request initWithURL:[[NSURL alloc] initWithString:applicationEndpoint]];