This commit is contained in:
Pierre-Olivier Latour
2014-04-16 00:11:24 -03:00
parent c170fb4fd3
commit 05a704bcef
3 changed files with 3 additions and 0 deletions
@@ -39,6 +39,7 @@
@property(nonatomic, readonly) NSUInteger totalBytesWritten;
@end
// These methods can be called from any thread
@interface GCDWebServerConnection (Subclassing)
- (BOOL)open; // Return NO to reject connection e.g. after validating local or remote addresses
- (void)didReadBytes:(const void*)bytes length:(NSUInteger)length; // Called after data has been read from the connection