lib/icloud/session.rb
def http(host, port)
      @http["#{host}:#{port}"] ||= http_class.new(host, port).tap do |http|
        http.verify_mode = OpenSSL::SSL::VERIFY_PEER
        http.use_ssl = true
      end
    end
#
# Internal: Returns a Net::HTTP object for host:post, which may or may not
# have already been used. Proxies and SSL are taken care of.
#
Returns a Net::HTTP object for host:post, which may or may not
have already been used. Proxies and SSL are taken care of.
Returns a Net :: HTTP object for host : post which may or may not have already been used . Proxies and SSL are taken care of .
def http(host, port)
      @http["#{host}:#{port}"] ||= http_class.new(host, port).tap do |http|
        http.verify_mode = OpenSSL::SSL::VERIFY_PEER
        http.use_ssl = true
      end
    end
def http ( host , port ) @http [ "#{host}:#{port}" ] ||= http_class . new ( host , port ) . tap do | http | http . verify_mode = OpenSSL :: SSL :: VERIFY_PEER http . use_ssl = true end end
Internal: Returns a Net::HTTP object for host:post, which may or may not
have already been used.
Internal : Returns a Net :: HTTP object for host : post which may or may not have already been used .
host
port