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
171 def initialize(uri, options)
172   super("CONNECT", uri, options)
173   @headers.delete("accept")
174 end

Public Instance methods

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