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
105 def initialize(uri, _options)
106   super(:connect, uri, {})
107   @headers.delete("accept")
108 end

Public Instance methods

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