protected function con(UrlContract $url)
    {

        $con = $this->connections->connection($url);

        if (!$con instanceof HttpConnection) {
            throw new \UnexpectedValueException("The connection returned for $url is no HttpConnection");
        }

        return $con;

    }
protected function con(UrlContract $url)
    {

        $con = $this->connections->connection($url);

        if (!$con instanceof HttpConnection) {
            throw new \UnexpectedValueException("The connection returned for $url is no HttpConnection");
        }

        return $con;

    }
protected function con ( UrlContract $ url ) { $ con = $ this -> connections -> connection ( $ url ) ; if ( ! $ con instanceof HttpConnection ) { throw new \ UnexpectedValueException ( "The connection returned for $url is no HttpConnection" ) ; } return $ con ; }
Return guaranteed a HttpConnection.

@param UrlContract $url

@return HttpConnection
Return guaranteed a HttpConnection .