A simple EventMachine-based asynchronous webserver.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
doc/rdoc
lib
test
COPYING
README
Rakefile

README

#!/usr/bin/env ruby -KU

$: << "#{File.dirname(__FILE__)}/lib"

require 'rubygems'
require 'shotgun'

Shotgun.start(:port => 3000) do
  response.content = "<html><body>Hello from a block</body></html>"
  response.send
end