Skip to content

matiaslb/jsonrpc4c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonrpc4c

jsonrpc4c is a JSON-RPC library for Clojure.

Usage

(use 'ring.adapter.jetty)
(require '[jsonrpc4c.rpc :as rpc])
(require '[jsonrpc4c.server :as server])

(rpc/defhandler "echo" identity)

(run-jetty #'server/app {:port 3000})

Starts listening on port 3000 and provides the method "echo" that does nothing but return its arguments.

About

a JSON-RPC library for Clojure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published