You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by zs...@apache.org on 2019/01/31 07:10:40 UTC
[incubator-weex-site] branch master updated: Update stream.md
This is an automated email from the ASF dual-hosted git repository.
zshshr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git
The following commit(s) were added to refs/heads/master by this push:
new c7ab715 Update stream.md
new 2d99760 Merge pull request #314 from wenhandi/patch-2
c7ab715 is described below
commit c7ab715b415e43a2639d4a8f939c3295e3dea596
Author: 文翰弟 <18...@163.com>
AuthorDate: Mon Jan 28 18:28:18 2019 +0800
Update stream.md
细节错误
---
source/cn/references/modules/stream.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/cn/references/modules/stream.md b/source/cn/references/modules/stream.md
index bae42f7..de2d304 100644
--- a/source/cn/references/modules/stream.md
+++ b/source/cn/references/modules/stream.md
@@ -41,7 +41,7 @@ version: 2.1
- `progressCallback {Function}`:关于请求状态的回调。 这个回调函数将在请求完成后就被调用:
- `readyState {number}`:当前状态
state:'1': 请求连接中
- opened:'2': 返回响应头中
+ opened:'2': 返回响应中
received:'3': 正在加载返回数据
- `status {number}`:响应状态码.
- `length {number}`:已经接受到的数据长度. 你可以从响应头中获取总长度