Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit b2661d8

Browse files
committed
Merge branch 'master' of github.com:wkh237/react-native-fetch-blob
2 parents c6752b4 + f52fbf9 commit b2661d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# react-native-fetch-blob [![release](https://img.shields.io/github/release/wkh237/react-native-fetch-blob.svg?maxAge=86400&style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) [![npm](https://img.shields.io/npm/v/react-native-fetch-blob.svg?style=flat-square)](https://www.npmjs.com/package/react-native-fetch-blob) ![](https://img.shields.io/badge/PR-Welcome-brightgreen.svg?style=flat-square) [![npm](https://img.shields.io/npm/l/react-native-fetch-blob.svg?maxAge=2592000&style=flat-square)]()
22

3-
A project committed to make file acess and data transfer easier, effiecient for React Native developers.
3+
A project committed to make file acess and data transfer easier, effiecient for React Native developers.
44

55
## Features
66
- Transfer data directly from/to storage without BASE64 bridging
@@ -150,7 +150,7 @@ To sum up :
150150
- To send binary data, you have two choices, use BASE64 encoded string or a file path which points to a file contains the body. The `Content-Type` header does not matters.
151151
- The body is a BASE64 encoded string, the `Content-Type` header filed must containing substring`;BASE64` or `application/octet`
152152
- The body is a path point to a file, it must be a string starts with `RNFetchBlob-file://`, which can simply done by `RNFetchBlob.wrap(PATH_TO_THE_FILE)`
153-
- To send the body as-is, set a `Content-Type` header not containing `;BASE64` or `application/octet`.
153+
- To send the body as-is, set a `Content-Type` header not containing `;BASE64` or `application/octet`.
154154

155155
#### Download example : Fetch files that needs authorization token
156156

@@ -645,7 +645,7 @@ RNFetchBlob.config({
645645

646646
### Web API Polyfills
647647

648-
After `0.8.0` we've made some [Web API polyfills](https://github.com/wkh237/react-native-fetch-blob/wiki/Web-API-Polyfills-(work-in-progress)) that makes some browser-based library available in RN.
648+
After `0.8.0` we've made some [Web API polyfills](https://github.com/wkh237/react-native-fetch-blob/wiki/Web-API-Polyfills-(work-in-progress)) that makes some browser-based library available in RN.
649649

650650
- Blob
651651
- XMLHttpRequest (Use our implementation if you're going to use it with Blob)
@@ -668,7 +668,7 @@ Due to the [lack of typed array implementation in JavascriptCore, and limitation
668668

669669
**Concate and Replacing Files**
670670

671-
If you're going to concatenate files, you don't have to read the data to JS context anymore ! In `0.8.0` we introduced new encoding `uri` for writeFile and appendFile API. Which make it possible to done the whole process in native.
671+
If you're going to concatenate files, you don't have to read the data to JS context anymore ! In `0.8.0` we introduced new encoding `uri` for writeFile and appendFile API. Which make it possible to done the whole process in native.
672672

673673
<img src="img/performance_f2f.png" style="width : 100%"/>
674674

img/RNFB-HTTP-flow.png

70.9 KB
Loading

0 commit comments

Comments
 (0)