Method: Thin::Connection#process

Defined in:
lib/thin/connection.rb

#processObject

Called when all data was received and the request is ready to be processed.



49
50
51
52
53
54
55
56
57
# File 'lib/thin/connection.rb', line 49

def process
  if threaded?
    @request.threaded = true
    EventMachine.defer(method(:pre_process), method(:post_process))
  else
    @request.threaded = false
    post_process(pre_process)
  end
end