diff --git a/AFNetworking/AFHTTPClient.h b/AFNetworking/AFHTTPClient.h index 9a3082c..ce5b436 100755 --- a/AFNetworking/AFHTTPClient.h +++ b/AFNetworking/AFHTTPClient.h @@ -500,7 +500,7 @@ extern NSString * const AFNetworkingReachabilityNotificationStatusItem; #pragma mark - extern NSUInteger const kAFUploadStream3GSuggestedPacketSize; -extern NSUInteger const kAFUploadStream3GSuggestedDelay; +extern NSTimeInterval const kAFUploadStream3GSuggestedDelay; /** The `AFMultipartFormData` protocol defines the methods supported by the parameter in the block argument of `AFHTTPClient -multipartFormRequestWithMethod:path:parameters:constructingBodyWithBlock:`. diff --git a/AFNetworking/AFHTTPClient.m b/AFNetworking/AFHTTPClient.m index 9fcef30..2cb0bdc 100755 --- a/AFNetworking/AFHTTPClient.m +++ b/AFNetworking/AFHTTPClient.m @@ -717,7 +717,7 @@ static inline NSString * AFContentTypeForPathExtension(NSString *extension) { } NSUInteger const kAFUploadStream3GSuggestedPacketSize = 1024 * 16; -NSUInteger const kAFUploadStream3GSuggestedDelay = 0.2; +NSTimeInterval const kAFUploadStream3GSuggestedDelay = 0.2; @interface AFHTTPBodyPart : NSObject