mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-01 15:26:11 +00:00
* dark mode & stream overlay * removed all redundant imports * update for the new xcode version with fixes for the new 'implicitly retains self warning' * reworked the overlay view * cleaning up unused variables * small corrections
23 lines
714 B
Objective-C
23 lines
714 B
Objective-C
//
|
|
// HttpRequest.h
|
|
// Moonlight
|
|
//
|
|
// Created by Diego Waxemberg on 2/1/15.
|
|
// Copyright (c) 2015 Moonlight Stream. All rights reserved.
|
|
//
|
|
|
|
#import "HttpResponse.h"
|
|
|
|
@interface HttpRequest : NSObject
|
|
|
|
@property (nonatomic) id<Response> response;
|
|
@property (nonatomic) NSURLRequest* request;
|
|
@property (nonatomic) int fallbackError;
|
|
@property (nonatomic) NSURLRequest* fallbackRequest;
|
|
|
|
+ (instancetype) requestForResponse:(id<Response>)response withUrlRequest:(NSURLRequest*)req fallbackError:(int)error fallbackRequest:(NSURLRequest*) fallbackReq;
|
|
+ (instancetype) requestForResponse:(id<Response>)response withUrlRequest:(NSURLRequest*)req;
|
|
+ (instancetype) requestWithUrlRequest:(NSURLRequest*)req;
|
|
|
|
@end
|