Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Clojure: Webbit + Ring

Context

I just got http://blog.jayfields.com/2011/02/clojure-web-socket-introduction.html working.

I also have ring + compojure working.

Question:

I would like to use ring ... somehow ... with webbit is this possible?

Thanks!

like image 244
user1383359 Avatar asked Jun 10 '12 08:06

user1383359


1 Answers

Ring works with web servers via adapters. The most common case is that people want to use jetty, so Ring ships with a jetty adapter.

In order to use ring with webbit, you'd want to write an adapter for it. Unfortunately, there doesn't seem to be any public webbit adapters already in existence, so you'll likely have to roll your own.

like image 109
Rayne Avatar answered Oct 16 '22 16:10

Rayne