You are here

public function ServicesClientConnection::getDebug in Services Client 7.2

Same name and namespace in other branches
  1. 7 services_client_connection/include/connection.inc \ServicesClientConnection::getDebug()

Return last response for debugging purposes

Return value

ServicesClientConnectionResponse

1 call to ServicesClientConnection::getDebug()
ServicesClientConnection::debug in services_client_connection/include/connection.inc
Debug last request and response

File

services_client_connection/include/connection.inc, line 195
Main services client connection class which exposes simple API

Class

ServicesClientConnection
@file Main services client connection class which exposes simple API

Code

public function getDebug() {
  return array(
    'request' => $this->http_request,
    'response' => $this->response,
  );
}