-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathQAsyncHttp.h
More file actions
25 lines (17 loc) · 726 Bytes
/
Copy pathQAsyncHttp.h
File metadata and controls
25 lines (17 loc) · 726 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
//
// QAsyncHttp.h
// QWeiboSDK4iOS
//
// Created on 11-1-18.
//
//
#import <Foundation/Foundation.h>
@interface QAsyncHttp : NSObject {
}
//Start a connection fro http get method and return it to delegate.
- (NSURLConnection *)httpGet:(NSString *)aUrl queryString:(NSString *)aQueryString delegate:(id)aDelegare;
//Start a connection fro http post method and return it to delegate.
- (NSURLConnection *)httpPost:(NSString *)aUrl queryString:(NSString *)aQueryString delegate:(id)aDelegare;
//Start a connection fro http multi-part method and return it to delegate.
- (NSURLConnection *)httpPostWithFile:(NSDictionary *)files url:(NSString *)aUrl queryString:(NSString *)aQueryString delegate:(id)aDelegare;
@end