Scoop API

scoop:scoop.http.client:0.1.0

HttpProxyConnectException

class HttpProxyConnectException

source · line 115
public
public class HttpProxyConnectException internal constructor(
    /**
     * The proxy endpoint that rejected CONNECT.
     */
    public val proxyUrl: Url,
    /**
         * The proxy's rejection response head.
         */
    public val responseHead: HttpResponseHead
) : Exception(Some("HTTP proxy rejected CONNECT with status " + responseHead.status.toString()))

An HTTP proxy rejected CONNECT with a non-success response head.

property proxyUrl

source · line 119
public
public val proxyUrl: Url

get: public read-only

The proxy endpoint that rejected CONNECT.