You are here

abstract public function HttpClientDelegate::execute in Http Client 6.2

Same name and namespace in other branches
  1. 7.2 includes/HttpClient.inc \HttpClientDelegate::execute()

Executes a request for the HttpClient.

Parameters

HttpClient $client: The client we're acting as a delegate for.

HttpClientRequest $request: The request to execute.

Return value

object The interpreted response.

1 method overrides HttpClientDelegate::execute()
HttpClientCurlDelegate::execute in includes/HttpClientCurlDelegate.inc
Executes a request for the HttpClient.

File

includes/HttpClient.inc, line 223

Class

HttpClientDelegate
Abstract base class for Http client delegates.

Code

public abstract function execute(HttpClient $client, HttpClientRequest $request);