You are here

class ServicesClientConnectionHttpRequest in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/include/http.inc \ServicesClientConnectionHttpRequest

HTTP request definition

Hierarchy

Expanded class hierarchy of ServicesClientConnectionHttpRequest

File

services_client_connection/include/http.inc, line 7

View source
class ServicesClientConnectionHttpRequest {

  /**
   * Resource ID
   *
   * @var mixed
   */
  public $id = NULL;

  /**
   * Resource on remote server
   *
   * @var string
   */
  public $resource = NULL;

  /**
   * Optionally action
   *
   * @var string
   */
  public $action = NULL;

  /**
   * Optionally relation type
   *
   * @var string
   */
  public $relation = NULL;

  /**
   * Query data
   *
   * @var array
   */
  public $query = array();

  /**
   * Remote URL that will be called
   *
   * @var string
   */
  public $url = '';

  /**
   * Data that are going to be sent to client
   *
   * @var array
   */
  public $data = array();

  /**
   * Raw PHP data that are beiing sent to server
   *
   * @var array
   */
  public $data_raw = array();

  /**
   * Define which HTTP method should be used
   *
   * @var string
   */
  public $http_method = 'GET';

  /**
   * Custom HTTP headers
   *
   * @var array
   */
  public $http_headers = array();

  /**
   * Cookies sent to remote server
   *
   * @var array
   */
  public $cookie = array();

}

Members

Namesort descending Modifiers Type Description Overrides
ServicesClientConnectionHttpRequest::$action public property Optionally action
ServicesClientConnectionHttpRequest::$cookie public property Cookies sent to remote server
ServicesClientConnectionHttpRequest::$data public property Data that are going to be sent to client
ServicesClientConnectionHttpRequest::$data_raw public property Raw PHP data that are beiing sent to server
ServicesClientConnectionHttpRequest::$http_headers public property Custom HTTP headers
ServicesClientConnectionHttpRequest::$http_method public property Define which HTTP method should be used
ServicesClientConnectionHttpRequest::$id public property Resource ID
ServicesClientConnectionHttpRequest::$query public property Query data
ServicesClientConnectionHttpRequest::$relation public property Optionally relation type
ServicesClientConnectionHttpRequest::$resource public property Resource on remote server
ServicesClientConnectionHttpRequest::$url public property Remote URL that will be called