- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAFHTTPFileUpdateOperation.h
More file actions
Latest commit
23 lines (17 loc) · 729 Bytes
/
Copy pathAFHTTPFileUpdateOperation.h
File metadata and controls
23 lines (17 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// AFHTTPFileUpdateOperation.h
//
// Created by Roman Kříž on 19.07.13.
// Copyright (c) 2013 samnung. All rights reserved.
//
#import<AFNetworking/AFHTTPRequestOperation.h>
@interfaceAFHTTPFileUpdateOperation : AFHTTPRequestOperation
@property (nonatomic, strong, readonly) NSString * localPath;
/**
* Creates instance of this operation.
*
* @note Please don't use method initWithRequest:, otherwise this will not work!
*/
- (instancetype) initWithRequest:(NSURLRequest *)urlRequestlocalPath:(NSString *)path;
- (void) setCompletionBlockWithSuccess:(void (^)(AFHTTPFileUpdateOperation *operation, NSData * data))successfailure:(void (^)(AFHTTPFileUpdateOperation *operation, NSError *error))failure;
@end