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
195 def initialize(uri, options)
196   super("CONNECT", uri, options)
197   @headers.delete("accept")
198 end

Public Instance methods

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