0.0.5 • Published 2 years ago

@deegital/js-trustup-io-websocket v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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));