2.0.0 • Published 7 years ago

nodevms-client v2.0.0

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

NodeVMS Client

RPC client library for NodeVMS.

const NodeVMSClient = require('nodevms-client')

// example usage
var rpc = new NodeVMSClient()
await rpc.connect('ws://localhost:5555')
await rpc.ping()
rpc.close()

// can also use 'ready' event
var rpc = new NodeVMSClient()
rpc.connect('ws://localhost:5555')
rpc.on('ready', async () => {
  await rpc.ping()
})

// opts:
var rpc = new NodeVMSClient({
  timeout: Number, ms (default 5000)
})
rpc.connect(url, {
  user: String, the user to authenticate as (default null)
})
2.0.0

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago