method

connection_for

ruby latest stable - Class: Gem::RemoteFetcher

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

connection_for(uri)
public

Creates or an HTTP connection based on uri, or retrieves an existing connection, using a proxy if needed.