1.0.4 • Published 3 years ago

taro-sockjs-client v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

taro-sockjs-client

sockjs-client for Taro

install(安装)

npm:

    npm install taro-sockjs-client

yarn:

    yarn add taro-sockjs-client

How to use(使用)

import { Stomp } from '@stomp/stompjs'
import SockJS from 'taro-sockjs-client'

const sock = new SockJS(url)
const client = Stomp.over(sock)
client.connect({}, onConnected, onError)
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago