class HTTPX::Plugins::Proxy::HTTP::ConnectRequest

  1. lib/httpx/plugins/proxy/http.rb
Superclass: Request

Methods

Public Class

  1. new

Public Instance

  1. path

Public Class methods

new(uri, options)
[show source]
    # File lib/httpx/plugins/proxy/http.rb
251 def initialize(uri, options)
252   super("CONNECT", uri, options)
253   @headers = options.headers_class.new
254   merge_headers(options.proxy_headers) if options.proxy_headers
255 end

Public Instance methods

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