Changed default port to 80 on iOS but still 8080 on Mac & iOS Simulator

This commit is contained in:
Pierre-Olivier Latour
2014-03-22 20:16:26 -07:00
parent a3894fbf9b
commit ea1924994e
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ NSDictionary* GCDWebServerParseURLEncodedForm(NSString* form);
- (void)addHandlerWithMatchBlock:(GCDWebServerMatchBlock)matchBlock processBlock:(GCDWebServerProcessBlock)processBlock;
- (void)removeAllHandlers;
- (BOOL)start; // Default is 8080 port and computer name
- (BOOL)start; // Default is port 8080 (Mac & iOS Simulator) or 80 (iOS) and computer name
- (BOOL)startWithPort:(NSUInteger)port bonjourName:(NSString*)name; // Pass nil name to disable Bonjour or empty string to use computer name
- (void)stop;
@end