2021-06-01 12:20:20 +00:00
|
|
|
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
2015-12-09 13:09:37 +00:00
|
|
|
class Sessions::Event::Ping < Sessions::Event::Base
|
|
|
|
|
2018-11-02 17:42:57 +00:00
|
|
|
=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
|
|
|
|
|
2015-12-09 13:09:37 +00:00
|
|
|
def run
|
|
|
|
{
|
|
|
|
event: 'pong',
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|