Drawbridge: a (Ring) HTTP transport for nREPL

180 views
Skip to first unread message

Chas Emerick

unread,
Mar 29, 2012, 5:43:48 PM3/29/12
to clojur...@googlegroups.com, Clojure
Drawbridge is an HTTP/HTTPS nREPL transport, implemented as a Ring handler:

https://github.com/cemerick/drawbridge

It also provides a client-side nREPL transport using clj-http that extends nREPL's url-connect; the intention is that any tool that uses url-connect will be able to transparently connect to and use an HTTP nREPL endpoint simply by specifying an http:// URL instead of e.g. an nrepl:// one.

I hope this will prove to be a reasonable "reference implementation" of both an alternative nREPL transport as well as of an effective HTTP/HTTPS transport to enable many applications that couldn't reasonably be built using other protocols.

I welcome your questions, bugs, usage reports, etc.

Thanks,

- Chas

--
[Clojure Programming from O'Reilly](http://www.clojurebook.com)

Laurent PETIT

unread,
Mar 30, 2012, 2:32:55 AM3/30/12
to clo...@googlegroups.com, clojur...@googlegroups.com
Awesome!

One question : how to pass security credentials ?

> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@googlegroups.com
> Note that posts from new members are moderated - please be patient with your first post.
> To unsubscribe from this group, send email to
> clojure+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

Christophe Grand

unread,
Mar 30, 2012, 2:44:31 AM3/30/12
to clo...@googlegroups.com
It's just a web app, I guess you have to roll out your auth method of choice.
--
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.cgrand.net/ (en)
Reply all
Reply to author
Forward
0 new messages