Skip to content

Commit 05a704b

Browse files
committed
Fix
1 parent c170fb4 commit 05a704b

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

GCDWebDAVServer/GCDWebDAVServer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
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

GCDWebServer/Core/GCDWebServerConnection.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
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

GCDWebUploader/GCDWebUploader.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
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

0 commit comments

Comments
 (0)