mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-25 13:31:47 +00:00
Switch from deprecated NSURLConnection to NSURLSession
This commit is contained in:
1 parent
f13051aa31
commit
84a986bc88
2 files changed
+45
-35
No files matched your search
@@ -11,7 +11,7 @@
|
||||
#import "HttpResponse.h"
|
||||
#import "HttpRequest.h"
|
||||
|
||||
@interface HttpManager : NSObject <NSURLConnectionDelegate, NSURLConnectionDataDelegate>
|
||||
@interface HttpManager : NSObject <NSURLSessionDelegate>
|
||||
|
||||
- (id) initWithHost:(NSString*) host uniqueId:(NSString*) uniqueId deviceName:(NSString*) deviceName cert:(NSData*) cert;
|
||||
- (NSURLRequest*) newPairRequest:(NSData*)salt;
|
||||
|
||||
Reference in new issue
Block a user