public function send(string $method, string $url, array $options): HttpResponse
    {
        try {
            return new HttpResponse($this->buildClient()->request($method, $url, $this->mergeOptions([
                'query' => $this->parseQueryParams($url),
            ], $options)));
        } catch (\GuzzleHttp\Exception\ConnectException $e) {
            throw new Exceptions\ConnectionException($e->getMessage(), 0, $e);
        }
    }
public function send(string $method, string $url, array $options): HttpResponse
    {
        try {
            return new HttpResponse($this->buildClient()->request($method, $url, $this->mergeOptions([
                'query' => $this->parseQueryParams($url),
            ], $options)));
        } catch (\GuzzleHttp\Exception\ConnectException $e) {
            throw new Exceptions\ConnectionException($e->getMessage(), 0, $e);
        }
    }
public function send ( string $ method , string $ url , array $ options ) : HttpResponse { try { return new HttpResponse ( $ this -> buildClient ( ) -> request ( $ method , $ url , $ this -> mergeOptions ( [ 'query' => $ this -> parseQueryParams ( $ url ) , ] , $ options ) ) ) ; } catch ( \ GuzzleHttp \ Exception \ ConnectException $ e ) { throw new Exceptions \ ConnectionException ( $ e -> getMessage ( ) , 0 , $ e ) ; } }
Create and send an Http request.

@param string $method
@param string $url
@param array  $options

@return \BrianFaust\Http\HttpResponse
Create and send an Http request .