public function LogAPIRequestToLog($requestBody, $requestUri, $httpHeaders){
      $this->RequestLogging->LogPlatformRequests($requestBody, $requestUri, $httpHeaders, true);

      if ($requestBody && $this->RequestCompressor) {
          $this->RequestCompressor->Compress($httpHeaders, $requestBody);
      }

      if ($this->ResponseCompressor) {
          $this->ResponseCompressor->PrepareDecompress($httpHeaders);
      }
    }
public function LogAPIRequestToLog($requestBody, $requestUri, $httpHeaders){
      $this->RequestLogging->LogPlatformRequests($requestBody, $requestUri, $httpHeaders, true);

      if ($requestBody && $this->RequestCompressor) {
          $this->RequestCompressor->Compress($httpHeaders, $requestBody);
      }

      if ($this->ResponseCompressor) {
          $this->ResponseCompressor->PrepareDecompress($httpHeaders);
      }
    }
public function LogAPIRequestToLog ( $ requestBody , $ requestUri , $ httpHeaders ) { $ this -> RequestLogging -> LogPlatformRequests ( $ requestBody , $ requestUri , $ httpHeaders , true ) ; if ( $ requestBody && $ this -> RequestCompressor ) { $ this -> RequestCompressor -> Compress ( $ httpHeaders , $ requestBody ) ; } if ( $ this -> ResponseCompressor ) { $ this -> ResponseCompressor -> PrepareDecompress ( $ httpHeaders ) ; } }
Log API Request to the Log directory that user specified.
@param String $requestBody The requestBody
@param String $requestUri  The URI for this request
@param Array $httpHeaders  The headers for the request
Log API Request to the Log directory that user specified .