@mainframe/rpc-http-browser
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    0
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i @mainframe/rpc-http-browser

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

2.33 kB

Total Files

6

Last publish

Collaborators

  • aclarke
  • diogoperillo
  • howleysv
  • mosic
  • paul_lecam
  • sarahwiley