Class: RubyProxyHeaders::Typhoeus::ProxyResponse

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/ruby_proxy_headers/typhoeus.rb

Overview

Typhoeus response plus the CONNECT response headers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, proxy_headers) ⇒ ProxyResponse

Returns a new instance of ProxyResponse.



103
104
105
106
# File 'lib/ruby_proxy_headers/typhoeus.rb', line 103

def initialize(response, proxy_headers)
  super(response)
  @proxy_response_headers = proxy_headers
end

Instance Attribute Details

#proxy_response_headers ⇒ Object (readonly)

Returns the value of attribute proxy_response_headers.



101
102
103
# File 'lib/ruby_proxy_headers/typhoeus.rb', line 101

def proxy_response_headers
  @proxy_response_headers
end