Sha256: fd3987f85c41fe65d098572694b29a5b9f415099b0e71ccd77e044bcb0e7d622
Contents?: true
Size: 293 Bytes
Versions: 4
Compression:
Stored size: 293 Bytes
Contents
require 'sinatra' require 'async_sinatra' #class App < Sinatra::Base #class App < Sinatra::Base configure do |config| config.register Sinatra::Async #alias :get :aget end aget '/' do #EM.add_timer(5) do # body "hello" #end status 201 body "hello" end #end #run App
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mirage-2.4.2 | test.rb |
mirage-2.4.1 | test.rb |
mirage-2.4.0 | test.rb |
mirage-2.3.0 | test.rb |