| Class | Net::HTTP::ConnectionPool::Connection |
| In: |
lib/net/http/connection_pool/connection.rb
|
| Parent: | Object |
A light wrapper around Net::HTTP.
You should not need to construct connection objects yourself. You receive them as a response to {ConnectionPool#connection_for}.
| host | [R] | @return [String] |
| pool | [R] | @return [ConnectionPool] |
| port | [R] | @return [Integer] |
| proxy_address | [R] | @return [String,nil] |
| proxy_password | [R] | @return [String,nil] |
| proxy_port | [R] | @return [Integer,nil] |
| proxy_user | [R] | @return [String,nil] |
| read_timeout | [RW] | @return [Numeric,nil] |
| ssl | [R] | @return [Boolean] |
| ssl_ca_file | [R] | @return [String,nil] |
| ssl_ca_path | [R] | @return [String,nil] |
| ssl_verify_peer | [R] | @return [Boolean] |
@param [ConnectionPool] pool @param (see ConnectionPool#connection_for) @option (see ConnectionPool#connection_for) @return [Connection]
@return [String] Returns a key that can be used to group connections
that connection to the same host.