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/aleph-websockets-example/blob/master/src/aleph/http/client.clj


On Tue, Jun 4, 2013 at 3:03 PM, Matty Williams <[email protected]>wrote:

> 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
>> doing at beanstalkapp.com.
>>
>>
>>
>>
>> On Mon, Jun 3, 2013 at 5:47 PM, Matty Williams <[email protected]>wrote:
>>
>>> 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 server oriented. Does anyone have any ideas?
>>>
>>> --
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to [email protected]
>>>
>>> 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<http://groups.google.com/group/clojure?hl=en>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to clojure+u...@**googlegroups.com.
>>>
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>
>>
>> --
>> Best regards,
>> Dima Sabanin
>> http://twitter.com/dimasabanin
>>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to