提交 4e3aee79 编写于 作者: taohebin@dcloud.io's avatar taohebin@dcloud.io

Update websocket-global.md

上级 42555b15
...@@ -54,6 +54,10 @@ ...@@ -54,6 +54,10 @@
<!-- UTSAPIJSON.sendSocketMessage.tutorial --> <!-- UTSAPIJSON.sendSocketMessage.tutorial -->
## 注意事项
* 出于性能的权衡,在底层实现上发送队列占用的内存不能超过16M,一旦超过将导致连接被关闭。
## uni.onSocketMessage(callback) @onsocketmessage ## uni.onSocketMessage(callback) @onsocketmessage
<!-- UTSAPIJSON.onSocketMessage.description --> <!-- UTSAPIJSON.onSocketMessage.description -->
...@@ -100,4 +104,4 @@ ...@@ -100,4 +104,4 @@
<!-- UTSAPIJSON.general_type.name --> <!-- UTSAPIJSON.general_type.name -->
<!-- UTSAPIJSON.general_type.param --> <!-- UTSAPIJSON.general_type.param -->
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册