Oh good. I don't think I'd stop using jetty for the sake of websockets.  If
sente has a backend impl that can be made compatible with it, then is
consider that, but the jetty-websockets-async lib is relatively
straightforward. This reconnecting closure websocket fixes my last major
issue.

On Monday, April 14, 2014, Johann Bestowrous <[email protected]>
wrote:

> Google Closure implements an auto-reconnecting websocket.
>
> You can read docs on it 
> here<http://docs.closure-library.googlecode.com/git/class_goog_net_WebSocket.html>
>  and
> see an example of it being imported 
> here<https://github.com/kovasb/session/blob/1bf7346a87597aa8f6ad2bc031bd9f959b5d662a/resources/public/cljs/session/main.cljs#L8>
>  and
> used 
> here<https://github.com/kovasb/session/blob/1bf7346a87597aa8f6ad2bc031bd9f959b5d662a/resources/public/cljs/session/main.cljs#L41>
>
> On Sunday, April 13, 2014 6:16:08 PM UTC-7, t x wrote:
>>
>> Hi,
>>
>>   For building robust cljs web apps, I'd like to have a "uber
>> websocket" which does the following:
>>
>>   * when disconnected, it auto reconnects
>>   * and re-sends any messages that were not received
>>
>>   Before I hand-roll my own hacks, I was wondering -- is there any
>> existing cljs library which already does this?
>>
>> Thanks!
>>
>  --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to 
> [email protected]<javascript:_e(%7B%7D,'cvml','[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]<javascript:_e(%7B%7D,'cvml','clojure%[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]<javascript:_e(%7B%7D,'cvml','clojure%[email protected]');>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/d/optout.

Reply via email to