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

rpc-ipc

rpc-stream factory using transport-ipc.

Installation

yarn add @mainframe/rpc-ipc

Usage

import ipcRPC from '@mainframe/rpc-ipc'

const rpc = ipcRPC('/path/to/socket')

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

API

ipcRPC()

Arguments

  1. path: string

Returns StreamRPC

License

MIT

Current Tags

  • 0.3.0                                ...           latest (2 years ago)

6 Versions

  • 0.3.0                                ...           2 years ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (4)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |