Method: Spider::HTTP::RackIO#initialize

Defined in:
lib/spiderfw/http/adapters/rack.rb

#initialize(response, controller_response, w, options = {}) ⇒ RackIO

Returns a new instance of RackIO.



23
24
25
26
27
28
29
30
# File 'lib/spiderfw/http/adapters/rack.rb', line 23

def initialize(response, controller_response, w, options={})
    @response = response
    @controller_response = controller_response
    @w = w
    @headers_sent = false
    @rack_thread = Thread.current
    @options = options
end