You are here

public function AcquiaLiftDrupalHttpClientInterface::get in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 includes/acquia_lift.classes.inc \AcquiaLiftDrupalHttpClientInterface::get()

Create a GET request for the client

Parameters

string|array $uri Resource URI:

array|Collection $headers HTTP headers:

array $options Options to apply to the request. For BC compatibility, you can also pass a: string to tell Guzzle to download the body of the response to a particular location. Use the 'body' option instead for forward compatibility.

2 methods override AcquiaLiftDrupalHttpClientInterface::get()
AcquiaLiftDrupalHttpClient::get in includes/AcquiaLiftDrupalHttpClient.inc
Implements AcquiaLiftDrupalHttpClientInterface::get().
DummyAcquiaLiftHttpClient::get in tests/acquia_lift.test_classes.inc
Implements AcquiaLiftDrupalHttpClientInterface::get().

File

includes/AcquiaLiftDrupalHttpClientInterface.inc, line 28

Class

AcquiaLiftDrupalHttpClientInterface
A simple interface for http clients.

Code

public function get($uri = null, $headers = null, array $options = array());