Skip to content

duna-project/dunajs-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic usage

var client = require('dunajs-client')

var c = client.create('http://some-service-endpoint')
// http get
c.methodName({ arg1: 1, arg2, 'a' }).then(data => { console.log(data) })
// http post using unicode character U+01C3
c.methodNameǃ({ arg1: 1, arg2, 'a' }).then(data => { console.log(data) })
// http post using !
c.['methodName!']({ arg1: 1, arg2, 'a' }).then(data => { console.log(data) })

About

Duna framework javascript client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published