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

Public Instance methods

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