You are here

function hook_services_client_before_request in Services Client 7.2

Allows to react on push event before its executed.

Parameters

EventHandler $handler: Handler class that provides sending object.

stdClass $object: Object that is going to be sent.

2 functions implement hook_services_client_before_request()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

services_client_error_services_client_before_request in services_client_error/services_client_error.module
Implements hook_sc_process_data().
services_client_test_services_client_before_request in tests/services_client_test/services_client_test.module
Implements hook_services_client_before_request().
2 invocations of hook_services_client_before_request()
EntityDeleteHandler::execute in include/event.inc
Execute event and send event to remove endpoint.
EntitySaveHandler::execute in include/event.inc
Execute event and send event to remove endpoint.

File

./services_client.api.php, line 128
Services client allows you to push different objects from local drupal installation to remote servers via REST api.

Code

function hook_services_client_before_request($handler, $object) {
}