-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAFURLConnectionOperation.h
170 lines (163 loc) · 9.18 KB
/
AFURLConnectionOperation.h
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, May 19, 2018 at 4:52:06 PM Eastern Daylight Time
* Operating System: Version 10.2 (Build 14C92)
* Image Source: /var/containers/Bundle/Application/7AB1B6B1-534C-4BF9-A7EB-BE2BD4C13043/Snapchat.app/Snapchat
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
#import <Snapchat/Snapchat-Structs.h>
#import <Foundation/NSOperation.h>
#import <libobjc.A.dylib/NSURLConnectionDelegate.h>
#import <libobjc.A.dylib/NSURLConnectionDataDelegate.h>
#import <libobjc.A.dylib/NSCoding.h>
#import <libobjc.A.dylib/NSCopying.h>
@class NSURLConnection, NSSet, NSURLRequest, NSURLResponse, NSError, NSData, NSString, NSOutputStream, NSURLCredential, NSDictionary, NSRecursiveLock, NSArray, NSInputStream;
@interface AFURLConnectionOperation : NSOperation <NSURLConnectionDelegate, NSURLConnectionDataDelegate, NSCoding, NSCopying> {
BOOL _cancelled;
BOOL _allowsInvalidSSLCertificate;
BOOL _shouldUseCredentialStorage;
short _state;
int _SSLPinningMode;
NSURLConnection* _connection;
NSSet* _runLoopModes;
NSURLRequest* _request;
NSURLResponse* _response;
NSError* _error;
NSData* _responseData;
NSString* _responseString;
unsigned long long _responseStringEncoding;
long long _totalBytesRead;
NSOutputStream* _outputStream;
NSURLCredential* _credential;
NSDictionary* _userInfo;
unsigned long long _backgroundTaskIdentifier;
/*^block*/id _uploadProgress;
/*^block*/id _downloadProgress;
/*^block*/id _authenticationChallenge;
/*^block*/id _cacheResponse;
/*^block*/id _redirectResponse;
NSRecursiveLock* _lock;
NSArray* _pinnedCertificates;
}
@property (assign,nonatomic) short state; //@synthesize state=_state - In the implementation block
@property (assign,getter=isCancelled,nonatomic) BOOL cancelled; //@synthesize cancelled=_cancelled - In the implementation block
@property (nonatomic,retain) NSRecursiveLock * lock; //@synthesize lock=_lock - In the implementation block
@property (nonatomic,retain) NSURLConnection * connection; //@synthesize connection=_connection - In the implementation block
@property (nonatomic,retain) NSURLRequest * request; //@synthesize request=_request - In the implementation block
@property (nonatomic,retain) NSURLResponse * response; //@synthesize response=_response - In the implementation block
@property (nonatomic,retain) NSError * error; //@synthesize error=_error - In the implementation block
@property (nonatomic,retain) NSData * responseData; //@synthesize responseData=_responseData - In the implementation block
@property (nonatomic,copy) NSString * responseString; //@synthesize responseString=_responseString - In the implementation block
@property (assign,nonatomic) unsigned long long responseStringEncoding; //@synthesize responseStringEncoding=_responseStringEncoding - In the implementation block
@property (assign,nonatomic) long long totalBytesRead; //@synthesize totalBytesRead=_totalBytesRead - In the implementation block
@property (assign,nonatomic) unsigned long long backgroundTaskIdentifier; //@synthesize backgroundTaskIdentifier=_backgroundTaskIdentifier - In the implementation block
@property (nonatomic,copy) id uploadProgress; //@synthesize uploadProgress=_uploadProgress - In the implementation block
@property (nonatomic,copy) id downloadProgress; //@synthesize downloadProgress=_downloadProgress - In the implementation block
@property (nonatomic,copy) id authenticationChallenge; //@synthesize authenticationChallenge=_authenticationChallenge - In the implementation block
@property (nonatomic,copy) id cacheResponse; //@synthesize cacheResponse=_cacheResponse - In the implementation block
@property (nonatomic,copy) id redirectResponse; //@synthesize redirectResponse=_redirectResponse - In the implementation block
@property (nonatomic,retain) NSSet * runLoopModes; //@synthesize runLoopModes=_runLoopModes - In the implementation block
@property (assign,nonatomic) BOOL allowsInvalidSSLCertificate; //@synthesize allowsInvalidSSLCertificate=_allowsInvalidSSLCertificate - In the implementation block
@property (assign,nonatomic) BOOL shouldUseCredentialStorage; //@synthesize shouldUseCredentialStorage=_shouldUseCredentialStorage - In the implementation block
@property (nonatomic,retain) NSURLCredential * credential; //@synthesize credential=_credential - In the implementation block
@property (assign,setter=SLPinningMode,nonatomic) int SSLPinningMode; //@synthesize SSLPinningMode=_SSLPinningMode - In the implementation block
@property (nonatomic,copy) NSArray * pinnedCertificates; //@synthesize pinnedCertificates=_pinnedCertificates - In the implementation block
@property (nonatomic,retain) NSInputStream * inputStream;
@property (nonatomic,retain) NSOutputStream * outputStream; //@synthesize outputStream=_outputStream - In the implementation block
@property (nonatomic,retain) NSDictionary * userInfo; //@synthesize userInfo=_userInfo - In the implementation block
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (copy,readonly) NSString * description;
@property (copy,readonly) NSString * debugDescription;
+(void)networkRequestThreadEntryPoint:(id)arg1 ;
+(id)pinnedCertificates;
+(id)networkRequestThread;
+(id)pinnedPublicKeys;
-(void)setSSLPinningMode:(int)arg1 ;
-(BOOL)allowsInvalidSSLCertificate;
-(void)setAllowsInvalidSSLCertificate:(BOOL)arg1 ;
-(void)setShouldExecuteAsBackgroundTaskWithExpirationHandler:(/*^block*/id)arg1 ;
-(unsigned long long)responseStringEncoding;
-(NSArray *)pinnedCertificates;
-(void)setShouldUseCredentialStorage:(BOOL)arg1 ;
-(void)setUploadProgress:(id)arg1 ;
-(void)setAuthenticationChallenge:(id)arg1 ;
-(void)setCacheResponse:(id)arg1 ;
-(void)setResponseStringEncoding:(unsigned long long)arg1 ;
-(void)operationDidStart;
-(int)SSLPinningMode;
-(BOOL)shouldUseCredentialStorage;
-(id)uploadProgress;
-(long long)totalBytesRead;
-(void)setTotalBytesRead:(long long)arg1 ;
-(id)cacheResponse;
-(void)setWillSendRequestForAuthenticationChallengeBlock:(/*^block*/id)arg1 ;
-(void)setCacheResponseBlock:(/*^block*/id)arg1 ;
-(void)setRedirectResponseBlock:(/*^block*/id)arg1 ;
-(void)setPinnedCertificates:(NSArray *)arg1 ;
-(NSSet *)runLoopModes;
-(void)setRunLoopModes:(NSSet *)arg1 ;
-(id)authenticationChallenge;
-(void)cancel;
-(id)initWithCoder:(id)arg1 ;
-(void)encodeWithCoder:(id)arg1 ;
-(void)dealloc;
-(NSString *)description;
-(short)state;
-(void)setState:(short)arg1 ;
-(void)setCompletionBlock:(/*^block*/id)arg1 ;
-(NSURLResponse *)response;
-(NSURLRequest *)request;
-(NSDictionary *)userInfo;
-(id)copyWithZone:(NSZone*)arg1 ;
-(NSRecursiveLock *)lock;
-(void)start;
-(BOOL)isCancelled;
-(void)setCancelled:(BOOL)arg1 ;
-(void)setUserInfo:(NSDictionary *)arg1 ;
-(void)resume;
-(void)connection:(id)arg1 didFailWithError:(id)arg2 ;
-(void)connection:(id)arg1 didReceiveData:(id)arg2 ;
-(void)connectionDidFinishLoading:(id)arg1 ;
-(void)connection:(id)arg1 didReceiveResponse:(id)arg2 ;
-(id)initWithRequest:(id)arg1 ;
-(NSURLConnection *)connection;
-(void)setConnection:(NSURLConnection *)arg1 ;
-(void)pause;
-(void)setBackgroundTaskIdentifier:(unsigned long long)arg1 ;
-(BOOL)isFinished;
-(BOOL)isExecuting;
-(unsigned long long)backgroundTaskIdentifier;
-(BOOL)isPaused;
-(void)finish;
-(NSURLCredential *)credential;
-(void)setRequest:(NSURLRequest *)arg1 ;
-(void)setResponse:(NSURLResponse *)arg1 ;
-(BOOL)connectionShouldUseCredentialStorage:(id)arg1 ;
-(void)connection:(id)arg1 willSendRequestForAuthenticationChallenge:(id)arg2 ;
-(BOOL)isConcurrent;
-(void)setInputStream:(NSInputStream *)arg1 ;
-(NSOutputStream *)outputStream;
-(void)setOutputStream:(NSOutputStream *)arg1 ;
-(NSString *)responseString;
-(void)setResponseString:(NSString *)arg1 ;
-(void)setRedirectResponse:(id)arg1 ;
-(id)redirectResponse;
-(id)downloadProgress;
-(void)setDownloadProgress:(id)arg1 ;
-(NSError *)error;
-(void)setError:(NSError *)arg1 ;
-(void)setCredential:(NSURLCredential *)arg1 ;
-(NSData *)responseData;
-(void)setResponseData:(NSData *)arg1 ;
-(void)setDownloadProgressBlock:(/*^block*/id)arg1 ;
-(void)setUploadProgressBlock:(/*^block*/id)arg1 ;
-(void)setLock:(NSRecursiveLock *)arg1 ;
-(NSInputStream *)inputStream;
-(void)cancelConnection;
-(id)connection:(id)arg1 willSendRequest:(id)arg2 redirectResponse:(id)arg3 ;
-(id)connection:(id)arg1 needNewBodyStream:(id)arg2 ;
-(void)connection:(id)arg1 didSendBodyData:(long long)arg2 totalBytesWritten:(long long)arg3 totalBytesExpectedToWrite:(long long)arg4 ;
-(id)connection:(id)arg1 willCacheResponse:(id)arg2 ;
-(BOOL)isReady;
@end