Skip to content

Latest commit

 

History

History

rpc-http-browser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

rpc-http-browser

rpc-request factory using transport-http-browser.

Installation

yarn add @erebos/rpc-http-browser

Usage

import httpRPC from '@erebos/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