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
202 def initialize(uri, options)
203   super("CONNECT", uri, options)
204   @headers.delete("accept")
205 end

Public Instance methods

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