Inherits from EBRequest : NSObject
Declared in EBDataRequest.h
EBDataRequest.m

Overview

EBDataRequest will return NSData objects in the completion block

Tasks

Class Methods

requestWithURL:

Creates a new request with the specified URL. Not started until start is called.

+ (id)requestWithURL:(NSURL *)url

Parameters

url

URL for the request

Discussion

Creates a new request with the specified URL. Not started until start is called.

Declared In

EBRequest.h

Instance Methods

initWithURL:

Creates a new request with the specified URL. Not started until start is called.

- (id)initWithURL:(NSURL *)url

Parameters

url

URL for the request.

Discussion

Creates a new request with the specified URL. Not started until start is called.

Declared In

EBRequest.h

isRunning

Specifies whether the current request is running.

- (BOOL)isRunning

Discussion

Specifies whether the current request is running.

Declared In

EBRequest.h

start

Starts an asynchronous request

- (BOOL)start

Return Value

YES if the request could be started. NO otherwise.

Discussion

Starts an asynchronous request

Declared In

EBRequest.h

stop

Stops an asynchronous request.

- (void)stop

Discussion

Stops an asynchronous request.

Declared In

EBRequest.h