RPC client over IPC
Purpose
StreamRPC
factory using the IPC transport.
Installation
npm install @erebos/rpc-ipc
Usage
import { createRPC } from '@erebos/rpc-ipc'
const rpc = createRPC('/path/to/socket')
rpc.request('getUser', ['1234']).then(res => {
console.log(res)
})
API
createRPC()
Arguments
path: string
Returns StreamRPC