blob: 4a3fa3c6210038703107826c2dab74469073f090 (
plain) (
tree)
|
|
module ActionCable
module Server
module Connections
def connections
@connections ||= []
end
def add_connection(connection)
connections << connection
end
def remove_connection(connection)
connections.delete connection
end
def open_connections_statistics
connections.map(&:statistics)
end
end
end
end
|