src/Client.php
public function sendRequest(Request $request)
    {
        $response = $this->httpClient->send($request);

        $this->checkErrorResponse($response);

        return $response;
    }
public function sendRequest(Request $request)
    {
        $response = $this->httpClient->send($request);

        $this->checkErrorResponse($response);

        return $response;
    }
public function sendRequest ( Request $ request ) { $ response = $ this -> httpClient -> send ( $ request ) ; $ this -> checkErrorResponse ( $ response ) ; return $ response ; }
Send an API request

@param Request $request
@return ResponseInterface
@throws BadResponseException
@throws \GuzzleHttp\Exception\GuzzleException
Send an API request