0.11.0 • Published 6 years ago
@erebos/rpc-http-node v0.11.0
rpc-http-node
rpc-request factory using transport-http-node.
Installation
yarn add @erebos/rpc-http-nodeUsage
import httpRPC from '@erebos/rpc-http-node'
const rpc = httpRPC('http://localhost')
rpc.request('getUser', ['1234']).then(console.log)API
httpRPC()
Arguments
url: string
Returns RequestRPC
License
MIT