You are here

function _services_client_connection_request in Services Client 7

Same name and namespace in other branches
  1. 7.2 services_client_connection/include/plugin_definition.inc \_services_client_connection_request()

List of request plugins provided by module

1 call to _services_client_connection_request()
services_client_connection_services_client_connection_request in services_client_connection/services_client_connection.module
Implementation of hook_services_client_connection_server().

File

services_client_connection/include/plugin_definition.inc, line 81
Plugin definition

Code

function _services_client_connection_request() {
  $path = drupal_get_path('module', 'services_client_connection') . '/plugins';
  $info = array();
  $info['ServicesClientConnectionCurlRequest'] = array(
    'name' => 'cURL Request',
    'description' => 'Provides communication via cURL',
    'handler' => array(
      'parent' => 'ServicesClientConnectionRequest',
      'class' => 'ServicesClientConnectionCurlRequest',
      'file' => 'ServicesClientConnectionCurlRequest.inc',
      'path' => $path,
    ),
  );
  return $info;
}