Fork me on GitHub

Hi, I have a question specific to this example: Each established connection is maintained in an atom ws-clients. When server initiates a disconnect, it is clear which connection is getting closed but when the :on-close handler is triggered with only the code and reason, how does the server identify which session got closed?


Figured out I need to pass my own listener to Jetty.