-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathTestRequest.h
More file actions
32 lines (28 loc) · 810 Bytes
/
TestRequest.h
File metadata and controls
32 lines (28 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// TestRequest.h
// AFNetworking-Base
//
// Created by yangjunhai on 14-3-27.
// Copyright (c) 2014年 soooner. All rights reserved.
//
#import "AFNetworkingBaseRequest.h"
//[[AFNetworkActivityLogger sharedLogger] startLogging];
//[[AFNetworkActivityLogger sharedLogger] setLevel:AFLoggerLevelDebug];
//
//TestRequest *request = [[TestRequest alloc] init];
//
//[request uploadBlock:^(NSInteger totalBytesWritten, NSInteger totalBytesExpectedToWrite) {
//
//}];
//
//[request downloadBlock:^(NSInteger totalBytesRead, NSInteger totalBytesExpectedToRead) {
//
//}];
//
//[request completionBlock:^(AFNetworkingBaseRequest *request, NSInteger statusCode) {
// NSLog(@"-----------completionBlock");
//}];
//
//[request executeAsync:self.hash];
@interface TestRequest : AFNetworkingBaseRequest
@end