Introduction
The Shot Core is responsible for implementing the base Application
class, which processes incoming web socket
connections, turning them into instances of ApplicationInstance
. The Application
class also is capable of
being extended through Loaders and
Routers.
Installation
gem install shot
Usage Example
require 'shot'
app = Application.new
app.run do
app.on 'load' do |instance|
instance.emit 'loaded'
end
end
app.start
License
Licensed under the MIT License. For full licensing information, please see LICENSE.md.