Parent

Methods

Unicorn::App::Inetd

Public Class Methods

new(*cmd) click to toggle source

(Not documented)

    # File lib/unicorn/app/inetd.rb, line 95
95:     def initialize(*cmd)
96:       self.cmd = cmd
97:     end

Public Instance Methods

call(env) click to toggle source

(Not documented)

     # File lib/unicorn/app/inetd.rb, line 99
 99:     def call(env)
100:       /\A100-continue\z/i =~ env[Unicorn::Const::HTTP_EXPECT] and
101:           return [ 100, {} , [] ]
102: 
103:       [ 200, { 'Content-Type' => 'application/octet-stream' },
104:        CatBody.new(env, cmd) ]
105:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.