@erebos/transport-http-node
v0.10.0
Published
HTTP transport for node
Downloads
9
Keywords
Readme
transport-http-node
HTTP transport for node.
Installation
yarn add @erebos/transport-http-node
Usage
import httpTransport from '@erebos/transport-http-node'
const transport = httpTransport('http://localhost')
transport.request({ hello: 'transport' }).then(console.log)
API
httpTransport()
Arguments
url: string
Returns (data: Object) => Promise<any>
License
MIT