mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-20 11:09:45 +00:00
git-subtree-dir: submodules/LegacyComponents git-subtree-mainline:6086305304git-subtree-split:d559434616
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
|