You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ To run the example project, clone the repo, and run `pod install` from the Examp
22
22
## The Protocol
23
23
You'll need a tus.io friendly server before using TUSKit or any other tus client. You can find a list of [tus implementations here](http://tus.io/implementations.html).
24
24
25
-
# Usage (1.3.0)
25
+
# Usage (1.4.0)
26
26
------
27
27
## TUSSession
28
28
A NSURLSession that manages, creates, and reloads TUS uploads using a single NSURLSession and data store.
@@ -50,11 +50,14 @@ The data storage for uploads.
50
50
## TUSResumableUpload
51
51
Easily add uploads to your data storage using the your TUSSession.
@property (nonatomic, strong) NSURLSessionTask *currentTask; // Nonatomic because we know we will assign it, then start the thread that will remove it.
68
68
@property (nonatomic, strong) NSURL *fileUrl; // File URL for saving if we created our own TUSData
69
69
@property (readonly) longlong length;
70
+
@property (nonatomic) int rertyCount; // Number of times to try
71
+
@property (nonatomic) int attempts; // Number of times tried
72
+
70
73
71
74
@property (nonatomic) longlong chunkSize; //how big chunks we send to the server
STORE_KEY_UPLOAD_URL: self.state == TUSResumableUploadStateCreatingFile? [NSNullnull] : self.uploadUrl.absoluteString, //If we are creating the file, there is no upload URL
673
+
STORE_KEY_UPLOAD_URL: self.state == TUSResumableUploadStateCreatingFile? @"": self.uploadUrl.absoluteString, //If we are creating the file, there is no upload URL
0 commit comments