Selaa lähdekoodia

docs: Sort uploader plugins, add xhrupload stub.

Renée Kooi 7 vuotta sitten
vanhempi
commit
d1bd8b6183

+ 1 - 1
website/src/docs/aws-s3.md

@@ -1,6 +1,6 @@
 ---
 ---
 type: docs
 type: docs
-order: 10
+order: 11
 title: "AwsS3"
 title: "AwsS3"
 permalink: docs/aws-s3/
 permalink: docs/aws-s3/
 ---
 ---

+ 1 - 1
website/src/docs/transloadit.md

@@ -1,6 +1,6 @@
 ---
 ---
 type: docs
 type: docs
-order: 9
+order: 10
 title: "Transloadit"
 title: "Transloadit"
 permalink: docs/transloadit/
 permalink: docs/transloadit/
 ---
 ---

+ 2 - 1
website/src/docs/tus.md

@@ -1,5 +1,6 @@
 ---
 ---
-order: 7
+type: docs
+order: 8
 title: "Tus"
 title: "Tus"
 permalink: docs/tus/
 permalink: docs/tus/
 ---
 ---

+ 20 - 0
website/src/docs/xhrupload.md

@@ -0,0 +1,20 @@
+---
+type: docs
+order: 8
+title: "XHRUpload"
+permalink: docs/xhrupload/
+---
+
+The XHRUpload plugin handles classic HTML multipart form uploads, as well as uploads using the HTTP `PUT` method.
+
+## Options
+
+```js
+uppy.use(Tus10, {
+  resume: true,
+  allowPause: true,
+  autoRetry: true,
+  retryDelays: [0, 1000, 3000, 5000]
+})
+```
+