method

connection_for

v2_6_3 - Show latest stable - Class: Gem::Request
connection_for(uri)
public

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