private function ServicesClientConnectionCurlRequest::getCurlDeleteOptions in Services Client 7.2
Same name and namespace in other branches
- 7 services_client_connection/plugins/ServicesClientConnectionCurlRequest.inc \ServicesClientConnectionCurlRequest::getCurlDeleteOptions()
Return the standard set of curl options for a DELETE
Parameters
ServicesClientConnectionHttpRequest $request: Request data that should be processed
Return value
array cURL opts array
1 call to ServicesClientConnectionCurlRequest::getCurlDeleteOptions()
- ServicesClientConnectionCurlRequest::getCurlOptions in services_client_connection/
plugins/ ServicesClientConnectionCurlRequest.inc - Returns cURL opts
File
- services_client_connection/
plugins/ ServicesClientConnectionCurlRequest.inc, line 178 - Make requests via cURL
Class
- ServicesClientConnectionCurlRequest
- @file Make requests via cURL
Code
private function getCurlDeleteOptions(&$request) {
$ret = $this
->getDefaultCurlOptions($request);
$ret += array(
CURLOPT_CUSTOMREQUEST => 'DELETE',
);
return $ret;
}