Documentation on building a webserver handler? #486

Closed
Pablo-Merino opened this Issue Jan 7, 2013 · 3 comments

Projects

None yet

2 participants

@Pablo-Merino

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!

@raggi
Official Rack repositories member

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.

@raggi
Official Rack repositories member

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.

@raggi raggi closed this Jan 7, 2013
@Pablo-Merino

Thanks! I should have figured this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment