Async::HTTPSourceAsyncHTTPProxyConnectFailure

class ConnectFailure

Raised when a CONNECT tunnel through a proxy cannot be established.

Definitions

def initialize(response)

Initialize the failure with the unsuccessful response.

Signature

parameter response Protocol::HTTP::Response

The failed response from the proxy.

Implementation

def initialize(response)
	super "Failed to connect: #{response.status}"
	@response = response
end