You are here

function http_client_http_client_delegates in Http Client 7.2

Same name and namespace in other branches
  1. 6.2 http_client.module \http_client_http_client_delegates()

Implements hook_http_client_delegates().

File

./http_client.module, line 34

Code

function http_client_http_client_delegates() {
  $delegates = array();
  if (function_exists('curl_init')) {
    $delegates['curl'] = new HttpClientCurlDelegate();
  }
  return $delegates;
}