Replaced GCDWebServer subclassing with explicit options

This commit is contained in:
Pierre-Olivier Latour
2014-04-16 01:29:52 -03:00
parent 2d8996b91e
commit 998a47b099
4 changed files with 57 additions and 49 deletions
+2
View File
@@ -128,6 +128,8 @@ extern NSString* GCDWebServerDescribeData(NSData* data, NSString* contentType);
@interface GCDWebServer ()
@property(nonatomic, readonly) NSArray* handlers;
@property(nonatomic, readonly) NSString* serverName;
@property(nonatomic, readonly) BOOL shouldAutomaticallyMapHEADToGET;
- (void)willStartConnection:(GCDWebServerConnection*)connection;
- (void)didEndConnection:(GCDWebServerConnection*)connection;
@end