Method: Excon::Connection#reset

Defined in:
lib/excon/connection.rb

#resetObject



303
304
305
306
307
# File 'lib/excon/connection.rb', line 303

def reset
  if old_socket = sockets.delete(@socket_key)
    old_socket.close rescue nil
  end
end