@deegital/js-trustup-io-websocket
v0.0.5
Published
Used to connect client side to our websocket microservice.
Downloads
179
Keywords
Readme
js-trustup-io-websocket
Installation
yarn add @deegital/js-trustup-io-websocket
Usage
Import trustupWebsocket
and call echo()
to get laravel echo instance.
import { trustupWebsocket } from "@deegital/js-trustup-io-websocket";
trustupWebsocket.echo()
.channel("testChannel")
.listen('testEvent', (e) => console.log(e));