@mainframe/rpc-electron
Electron RPC client
Last updated 2 years ago by paul_lecam .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @mainframe/rpc-electron 
SYNC missed versions from official npm registry.

rpc-electron

rpc-stream factory using transport-electron.

Installation

yarn add @mainframe/rpc-electron

Usage

import electronRPC from '@mainframe/rpc-electron'

const rpc = electronRPC('optional-channel-name')

rpc.request('getUser', ['1234']).then(console.log)

API

electronRPC()

Arguments

  1. channel?: ?string, defaults to rpc-message

Returns StreamRPC

License

MIT

Current Tags

  • 0.2.0                                ...           latest (2 years ago)

2 Versions

  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 0
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |