/**
  * Send the Request to the Server and return the Response
  *
  * @param  DropboxRequest $request
  *
  * @return \Kunnu\Dropbox\DropboxResponse
  *
  * @throws \Kunnu\Dropbox\Exceptions\DropboxClientException
  */
 public function sendRequest(DropboxRequest $request)
 {
     //Method
     $method = $request->getMethod();
     //Prepare Request
     list($url, $headers, $requestBody) = $this->prepareRequest($request);
     //Send the Request to the Server through the HTTP Client
     //and fetch the raw response as DropboxRawResponse
     $rawResponse = $this->getHttpClient()->send($url, $method, $requestBody, $headers);
     //Create DropboxResponse from DropboxRawResponse
     $dropboxResponse = new DropboxResponse($request, $rawResponse->getBody(), $rawResponse->getHttpResponseCode(), $rawResponse->getHeaders());
     //Return the DropboxResponse
     return $dropboxResponse;
 }