Hey! I've made a webserver in Ruby, and now just for fun I'm looking to build a handler for Rack apps but I couldn't find any documentation on building it (by handler I mean like WEBrick or Thin). Is this available somewhere, or I have to reverse what other handlers do? Thanks!
https://github.com/rack/rack/blob/master/lib/rack/handler/cgi.rb for the Ruby API side of things.
https://github.com/rack/rack/blob/master/SPEC for the env hash and app tuple semantics.
Always start by reading SPEC. n.b. SPEC is RDoc formatted, so you'll have a much easier time reading it after it's been processed by RDoc.
Thanks! I should have figured this!