Re: WSS Clojure client

2013-06-04 Thread Brian Tatnall
I've used the jetty websocket client with success. http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/websocket/WebSocketClient.html On Tue, Jun 4, 2013 at 2:20 PM, Gary Trakhman wrote: > Didn't mean to sound so negative, but in my experience the apache-wrapping > ones are too

Re: WSS Clojure client

2013-06-04 Thread Michael Klishin
2013/6/4 Gary Trakhman > I hate all the wrapper libraries, and I've used clj-http and > clj-apache-https. > > A quick google search turns up an alternative, seems promising: > httpkit seems to support WebSockets, according to their github project description http://http-kit.org/client.html --

Re: WSS Clojure client

2013-06-04 Thread Gary Trakhman
Didn't mean to sound so negative, but in my experience the apache-wrapping ones are too many layers of abstraction, and the moment you need a specific feature httpclient provides and the wrapper doesn't, you're on your own and have to rewrite a bunch of stuff. Http-kit looks elegant, but it's like

Re: WSS Clojure client

2013-06-04 Thread Gary Trakhman
nginx is a web server, and I don't think what you want. You probably want to use apache httpclient or a wrapper library. I hate all the wrapper libraries, and I've used clj-http and clj-apache-https. A quick google search turns up an alternative, seems promising: https://github.com/victor-github

Re: WSS Clojure client

2013-06-04 Thread Matty Williams
Forgive my ignorance, isn't nginx another application I'd have to run seperately? On Monday, 3 June 2013 23:36:34 UTC+1, Dima Sabanin wrote: > > New nginx does websocket proxying, so you could terminate SSL there and > use Aleph for a plain HTTP websocket server in Clojure. That's what we're >

Re: WSS Clojure client

2013-06-03 Thread Dima Sabanin
New nginx does websocket proxying, so you could terminate SSL there and use Aleph for a plain HTTP websocket server in Clojure. That's what we're doing at beanstalkapp.com. On Mon, Jun 3, 2013 at 5:47 PM, Matty Williams wrote: > I'm trying to write a clojure library that will need to connect t

WSS Clojure client

2013-06-03 Thread Matty Williams
I'm trying to write a clojure library that will need to connect to a secure websocket. I've looked at aleph which looks great but I'd need to use something like stud to handle the ssl, which as I'm writing a library isn't a great solution. I've tried looking at some java libraries but most seem