protected function send(\Zend\Http\Client $client)
    {
        try {
            $response = $client->send();
        } catch (\Zend\Http\Client\Exception\RuntimeException $e) {
            throw new Exception\RuntimeException(
                sprintf('Zend HTTP Client exception: %s', $e),
                -1,
                $e
            );
        }
        return $response;
    }
protected function send(\Zend\Http\Client $client)
    {
        try {
            $response = $client->send();
        } catch (\Zend\Http\Client\Exception\RuntimeException $e) {
            throw new Exception\RuntimeException(
                sprintf('Zend HTTP Client exception: %s', $e),
                -1,
                $e
            );
        }
        return $response;
    }
protected function send ( \ Zend \ Http \ Client $ client ) { try { $ response = $ client -> send ( ) ; } catch ( \ Zend \ Http \ Client \ Exception \ RuntimeException $ e ) { throw new Exception \ RuntimeException ( sprintf ( 'Zend HTTP Client exception: %s' , $ e ) , - 1 , $ e ) ; } return $ response ; }
Send HTTP request and return response.

@param \Zend\Http\Client $client HTTP client to use

@throws Exception\RuntimeException
@return \Zend\Http\Response

@todo Catch more exceptions, maybe?
Send HTTP request and return response .