123456789101112131415161718192021 |
- # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
- class Sessions::Event::Ping < Sessions::Event::Base
- =begin
- Event module to send pong to client connection.
- To execute this manually, just paste the following into the browser console
- App.WebSocket.send({event:'ping'})
- =end
- def run
- {
- event: 'pong',
- }
- end
- end
|