Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Documentation on building a webserver handler? #486

Closed
Pablo-Merino opened this Issue · 3 comments

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
Owner

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
Owner

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
@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
Something went wrong with that request. Please try again.