This repository was archived by the owner on Mar 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ RNFetchBlob
204204 fileCache : true ,
205205 })
206206 .fetch (' GET' , ' http://www.example.com/file/example.zip' , {
207- some headers ..
207+ // some headers ..
208208 })
209209 .then ((res ) => {
210210 // the temp file path
@@ -224,7 +224,7 @@ RNFetchBlob
224224 appendExt : ' png'
225225 })
226226 .fetch (' GET' , ' http://www.example.com/file/example.zip' , {
227- some headers ..
227+ // some headers ..
228228 })
229229 .then ((res ) => {
230230 // the temp file path with file extension `png`
@@ -387,7 +387,7 @@ In `version >= 0.4.2` it is possible to know the upload/download progress. After
387387
388388``` js
389389 RNFetchBlob .fetch (' POST' , ' http://www.example.com/upload' , {
390- ... some headers,
390+ // ... some headers,
391391 ' Content-Type' : ' octet-stream'
392392 }, base64DataString)
393393 // listen to upload progress event
@@ -411,7 +411,7 @@ In `0.9.6`, you can specify an object as first argument which contains `count` a
411411
412412``` js
413413 RNFetchBlob .fetch (' POST' , ' http://www.example.com/upload' , {
414- ... some headers,
414+ // ... some headers,
415415 ' Content-Type' : ' octet-stream'
416416 }, base64DataString)
417417 // listen to upload progress event, emit every 250ms
You can’t perform that action at this time.
0 commit comments