code: private function performRequest($curlSession, $deserializationType = null)
      {
          $response = curl_exec($curlSession);
          // coerce all false values to null
          $response = $response ? $response : null;
          try {
              $result = new MaileonAPIResult($response, $curlSession, $this->throwException, $deserializationType);
              $this->printDebugInformation($curlSession, $result);
              curl_close($curlSession);
              return $result;
          } catch (MaileonAPIException $e) {
              if ($this->debug) {
                  $this->printDebugInformation($curlSession, null, $this->throwException ? null : $e);
              }
              curl_close($curlSession);
              if ($this->throwException) {
                  throw $e;
              }
              return null;
          }
      }
docs: Perform the currently initialized request
  
  @param resource $curlSession
  the curl session
  @param mixed $deserializationType
  The name of the class this result should be deserialized as. Use
  array( 'array', 'typename' ) to deserialize arrays of a type.
  @return \MaileonAPIResult
  @throws MaileonAPIException