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
166 def initialize(uri, _options)
167   super("CONNECT", uri, {})
168   @headers.delete("accept")
169 end

Public Instance methods

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