Files
2026-02-03 16:52:44 +08:00

19 lines
411 B
Objective-C

#import <Foundation/Foundation.h>
#import "RoutingHTTPServer.h"
@interface Route : NSObject
@property (nonatomic) NSRegularExpression *regex;
@property (nonatomic, copy) RequestHandler handler;
#if __has_feature(objc_arc_weak)
@property (nonatomic, weak) id target;
#else
@property (nonatomic, assign) id target;
#endif
@property (nonatomic, assign) SEL selector;
@property (nonatomic) NSArray *keys;
@end