Fork me on GitHub
#pedestal
<
2017-04-11
>
bahulneel17:04:05

Hi, is anyone using websockets with pedestal?

bahulneel17:04:44

Cool, how did you deal with connection management? The provided ws-map functions don't seem to carry any connection info

bahulneel17:04:38

Also, what did you use browser side? I'm loath to implement my own reconnect logic if that kind of thing already exists.

souenzzo17:04:14

I did not find a standard way of dealing with "keep alive". I implemented "a thread" that do a "ping pong" on all active connections and close.

souenzzo17:04:02

Browser side I have no idea 🙂

souenzzo17:04:09

If you find some "standard" way to deal with reconnection(in my case, dosen't matter, it's always a new connection) and keep alive (close unative connections) please share 😉

bahulneel17:04:51

Will do, it's a shame that there's no way to use either sente or chord