mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-16 21:39:56 +00:00
Refactored http communications to be more abstract and OOP
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "Host.h"
|
||||
#import "HttpResponse.h"
|
||||
#import "HttpRequest.h"
|
||||
|
||||
@interface HttpManager : NSObject <NSURLConnectionDelegate, NSURLConnectionDataDelegate>
|
||||
|
||||
@@ -25,8 +26,8 @@
|
||||
- (NSURLRequest*) newResumeRequestWithRiKey:(NSString*)riKey riKeyId:(int)riKeyId;
|
||||
- (NSURLRequest*) newQuitAppRequest;
|
||||
- (NSURLRequest*) newAppAssetRequestWithAppId:(NSString*)appId;
|
||||
- (HttpResponse*) executeRequestSynchronously:(NSURLRequest*)request;
|
||||
- (void) executeRequest:(NSURLRequest*)request;
|
||||
- (void) executeRequestSynchronously:(HttpRequest*)request;
|
||||
- (void) executeRequest:(HttpRequest*)request;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user