Method: Ebb::Request#response

Defined in:
lib/ebb.rb

#responseObject



318
319
320
321
322
323
# File 'lib/ebb.rb', line 318

def response
  @response ||= begin
    last = !keep_alive? # this is the last response if the request isnt keep-alive
    Response.new(@connection, last)
  end
end