Method: ActionCable::Connection::Base#beat

Defined in:
actioncable/lib/action_cable/connection/base.rb

#beatObject



134
135
136
# File 'actioncable/lib/action_cable/connection/base.rb', line 134

def beat
  transmit type: ActionCable::INTERNAL[:message_types][:ping], message: Time.now.to_i
end