mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
12 lines
480 B
Objective-C
12 lines
480 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@protocol LegacyHTTPRequestOperation <NSObject>
|
|
|
|
@property (nonatomic, retain) NSOutputStream *outputStream;
|
|
|
|
- (void)setCompletionBlockWithSuccess:(void (^)(NSOperation *operation, id responseObject))success
|
|
failure:(void (^)(NSOperation *operation, NSError *error))failure;
|
|
- (void)setDownloadProgressBlock:(void (^)(NSInteger bytesRead, NSInteger totalBytesRead, NSInteger totalBytesExpectedToRead))block;
|
|
|
|
@end
|