Files
Monkey-Test/WebDriverAgent/Carthage/Checkouts/RoutingHTTPServer/Source/HTTPResponseProxy.h
T
2019-01-25 17:01:52 +08:00

14 lines
375 B
Objective-C

#import <Foundation/Foundation.h>
#import "HTTPResponse.h"
// Wraps an HTTPResponse object to allow setting a custom status code
// without needing to create subclasses of every response.
@interface HTTPResponseProxy : NSObject <HTTPResponse>
@property (nonatomic) NSObject<HTTPResponse> *response;
@property (nonatomic) NSInteger status;
- (NSInteger)customStatus;
@end