Transit transports for nREPL.
A Transit transport simplifies the lives of people using Clojure/ClojureScript/Java clients for nREPL. We use transit-clj to implement transports to be used with nREPL, it supports transit with message pack, json and json verbose.
Just add fastlane as a dependency to your project and you can use it as a transport for nREPL.
[nrepl/fastlane "0.1.0"]
The transports are at fastlane.core:
transit+msgpack
transit+json
transit+json-verbose
Afterwards you can start the server like this:
(require
'[nrepl.server :as server]
'[fastlane.core :as fastlane])
(server/start-server :port 12345 :transport-fn fastlane/transit+json)
You can also start it via the built-in nREPL CLI:
$ clj -R:nrepl -m nrepl.cmdline -t fastlane.core/transit+json
Copyright © 2018 Bozhidar Batsov and nREPL contributors
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close