mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-19 12:55:34 +00:00
19 lines
587 B
C
19 lines
587 B
C
![]() |
//
|
||
|
// BBNetworkRequest.h
|
||
|
//
|
||
|
// Created by Boris Buegling on 05.08.12.
|
||
|
// Copyright (c) 2012 Boris Buegling. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
@interface BBNetworkRequest : NSMutableURLRequest
|
||
|
|
||
|
+(id)requestWithURLString:(NSString*)urlString;
|
||
|
+(id)requestWithURLString:(NSString *)urlString parameters:(NSDictionary*)parameters;
|
||
|
|
||
|
-(void)sendAsynchronousRequestWithCompletionHandler:(void (^)(NSHTTPURLResponse*, NSData*))completionHandler
|
||
|
errorHandler:(void (^)(NSHTTPURLResponse*, NSData*, NSError*))errorHandler;
|
||
|
|
||
|
@end
|