Files
custom_wda/WebDriverAgentLib/Vendor/RoutingHTTPServer/HTTPResponseProxy.h
2026-02-03 16:52:44 +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