Skip to content

simonwex/shotgun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#!/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

About

A simple EventMachine-based asynchronous webserver.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages