Class: HTTPkit::Client::KeepAliveHandler

Inherits:
Object
  • Object
show all
Defined in:
lib/httpkit/client/keep_alive_handler.rb

Instance Method Summary collapse

Instance Method Details

#perform(request) ⇒ Object


5
6
7
8
9
# File 'lib/httpkit/client/keep_alive_handler.rb', line 5

def perform(request)
  @previous, previous = request, @previous  # TODO: move to Serializer

  previous.closed! if previous
end