vendor/bundle/ruby/2.7.0/gems/faraday-1.3.0/lib/faraday/adapter/em_http.rb
# Reads out proxy settings from env into options
Reads out proxy settings from env into options
Reads out proxy settings from env into options
def configure_proxy(options, env)
          proxy = request_options(env)[:proxy]
          return unless proxy
          options[:proxy] = {
            host: proxy[:uri].host,
            port: proxy[:uri].port,
            authorization: [proxy[:user], proxy[:password]]
          }
        end
def configure_proxy ( options , env ) proxy = request_options ( env ) [ :proxy ] return unless proxy options [ :proxy ] = { host : proxy [ :uri ] . host , port : proxy [ :uri ] . port , authorization : [ proxy [ :user ] , proxy [ :password ] ] } end
Reads out proxy settings from env into options
Reads out proxy settings from env into options
options
<not_specific>
env
<not_specific>