1.1.0 • Published 3 years ago

signalr-iso v1.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

signalr-iso

Summary

SignalR client for both Node.js and Browser environment. This package provides WebSocket transport only.

Usage

const SignalR = require('signalr-iso')

const client = new SignalR({
  uri: 'https://example.com/signalr',
  hubs: ['CoreHub']
})

client.open()
  .then(() => {
    client.on('CoreHub', 'SomeMethod', data => {
      // process received data herer
    })
    client.invoke('CoreHub', 'SomeMethod', ['arg0', 'arg1'])
  })
1.1.0

3 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago