File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747- (instancetype )initWithUploadDirectory : (NSString *)path ;
4848@end
4949
50+ // These methods can be called from any thread
5051@interface GCDWebDAVServer (Subclassing)
5152- (BOOL )shouldUploadFileAtPath : (NSString *)path withTemporaryFile : (NSString *)tempPath ; // Default implementation returns YES
5253- (BOOL )shouldMoveItemFromPath : (NSString *)fromPath toPath : (NSString *)toPath ; // Default implementation returns YES
Original file line number Diff line number Diff line change 3939@property (nonatomic , readonly ) NSUInteger totalBytesWritten;
4040@end
4141
42+ // These methods can be called from any thread
4243@interface GCDWebServerConnection (Subclassing)
4344- (BOOL )open ; // Return NO to reject connection e.g. after validating local or remote addresses
4445- (void )didReadBytes : (const void *)bytes length : (NSUInteger )length ; // Called after data has been read from the connection
Original file line number Diff line number Diff line change 5151- (instancetype )initWithUploadDirectory : (NSString *)path ;
5252@end
5353
54+ // These methods can be called from any thread
5455@interface GCDWebUploader (Subclassing)
5556- (BOOL )shouldUploadFileAtPath : (NSString *)path withTemporaryFile : (NSString *)tempPath ; // Default implementation returns YES
5657- (BOOL )shouldMoveItemFromPath : (NSString *)fromPath toPath : (NSString *)toPath ; // Default implementation returns YES
You can’t perform that action at this time.
0 commit comments