Parent

Methods

Class Index [+]

Quicksearch

Rack::Adapter::Camping

Public Class Methods

new(app) click to toggle source

(Not documented)

   # File lib/rack/adapter/camping.rb, line 4
4:       def initialize(app)
5:         @app = app
6:       end

Public Instance Methods

call(env) click to toggle source

(Not documented)

    # File lib/rack/adapter/camping.rb, line 8
 8:       def call(env)
 9:         env["PATH_INFO"] ||= ""
10:         env["SCRIPT_NAME"] ||= ""
11:         controller = @app.run(env['rack.input'], env)
12:         h = controller.headers
13:         h.each_pair do |k,v|
14:           if v.kind_of? URI
15:             h[k] = v.to_s
16:           end
17:         end
18:         [controller.status, controller.headers, [controller.body.to_s]]
19:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.