1.1.33 • Published 3 years ago

striver-libs v1.1.33

Weekly downloads
10
License
ISC
Repository
-
Last release
3 years ago

striver-libs

一起前端比较常用的小类库 Ipc 使用时需要先进行实例化

let url = 'ws://192.168.0.80:8080/bd' let _ipc = new ipc(url) 实例化后的实例拥有的方法

joinSubscribe(callBack)

订阅消息 callBack:回调函数(evt, tData)evt:完整的消息数据,tData:处理的json形式的json数据为对象,如果不是json将出错 返回值为订阅id delSubscribe(subId)

删除订阅 subId:订阅消息时返回的订阅id setIsConsole(val)

设置是否输出console val:true或false用来决定是否输出console,默认false

1.1.33

3 years ago

1.1.32

3 years ago

1.1.31

3 years ago

1.1.29

3 years ago

1.1.28

3 years ago

1.1.30

3 years ago

1.1.27

3 years ago

1.1.26

3 years ago

1.1.25

3 years ago

1.1.23

3 years ago

1.1.22

3 years ago

1.1.21

3 years ago

1.1.20

3 years ago

1.1.24

3 years ago

1.1.19

3 years ago

1.1.18

4 years ago

1.1.17

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

4 years ago

1.1.12

4 years ago

1.1.11

4 years ago

1.1.10

4 years ago

1.1.9

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.10

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago