module HTTPX::Plugins::Proxy::HTTP::ConnectRequestMethods

  1. lib/httpx/plugins/proxy/http.rb

Methods

Public Class

  1. new

Public Instance

  1. path

Public Class methods

new(uri, options)
[show source]
    # File lib/httpx/plugins/proxy/http.rb
272 def initialize(uri, options)
273   super("CONNECT", uri, options)
274   @headers = options.headers_class.new
275   merge_headers(options.proxy_headers) if options.proxy_headers
276 end

Public Instance methods

path()
[show source]
    # File lib/httpx/plugins/proxy/http.rb
278 def path
279   "#{@uri.hostname}:#{@uri.port}"
280 end