Route.h 411 B

123456789101112131415161718
  1. #import <Foundation/Foundation.h>
  2. #import "RoutingHTTPServer.h"
  3. @interface Route : NSObject
  4. @property (nonatomic) NSRegularExpression *regex;
  5. @property (nonatomic, copy) RequestHandler handler;
  6. #if __has_feature(objc_arc_weak)
  7. @property (nonatomic, weak) id target;
  8. #else
  9. @property (nonatomic, assign) id target;
  10. #endif
  11. @property (nonatomic, assign) SEL selector;
  12. @property (nonatomic) NSArray *keys;
  13. @end