Inherits from NSObject
Conforms to NSURLConnectionDelegate
Declared in UNIUrlConnection.h

Properties

completionHandler

@property (nonatomic, copy) void ( ^ ) ( NSURLResponse *response , NSData *data , NSError *error ) completionHandler

queue

@property (nonatomic, strong) NSOperationQueue *queue

request

@property (nonatomic, strong) NSURLRequest *request

Class Methods

sendAsynchronousRequest:queue:completionHandler:

+ (UNIUrlConnection *)sendAsynchronousRequest:(NSURLRequest *)request queue:(NSOperationQueue *)queue completionHandler:(void ( ^ ) ( NSURLResponse *response , NSData *data , NSError *error ))completionHandler

Instance Methods

cancel

- (void)cancel

start

- (void)start