Skip to content

henteko/bossan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bossan

Build Status

Bossan is a high performance asynchronous ruby's rack-compliant web server.

Requirements

Bossan requires Ruby 1.9.2 or later.

Bossan supports Linux, FreeBSD and Mac OS X(need gcc>=4.2).

Installation

from rubygems

gem install bossan

or from source:

git clone git://github.com/kubo39/bossan.git
cd bossan
rake build
rake install

Usage

simple rack app:

require 'bossan'

Bossan.run('127.0.0.1', 8000, proc {|env|
  [
   200,          # Status code
   {             # Response headers
     'Content-Type' => 'text/html',
     'Content-Length' => '13',
   },
   ['hello, world!']        # Response body
  ]
})

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

high performance asynchronous rack web server

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.7%
  • Ruby 2.6%
  • Objective-C 0.7%