0.2.0 • Published 6 years ago

@mainframe/rpc-http-browser v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

rpc-http-browser

rpc-request factory using transport-http-browser.

Installation

yarn add @mainframe/rpc-http-browser

Usage

import httpRPC from '@mainframe/rpc-http-browser'

const rpc = httpRPC('http://localhost')

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

API

httpRPC()

Arguments

  1. url: string

Returns RequestRPC

License

MIT