appherd-client
v1.0.1
Published
Service client to interact with appherd
Downloads
5
Readme
appherd-client
Service client to interact with appherd
Usage
let client = new AppHerdClient(port)
client.fetchHerd()
.then(() => {
var port = client.port('service-name')
var url = client.url('service-name') // http://localhost:port
client.fetch('service-name', '/absolute/path')
// returns fetch('http://localhost:port/absolute/path')