mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2026-04-24 00:00:04 +08:00
Changed default port to 80 on iOS but still 8080 on Mac & iOS Simulator
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user