You are here

public function AcquiaLiftDrupalHttpClientInterface::get in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 includes/AcquiaLiftDrupalHttpClientInterface.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/acquia_lift.classes.inc
Implements AcquiaLiftDrupalHttpClientInterface::get().
DummyAcquiaLiftHttpClient::get in tests/acquia_lift.test_classes.inc
Implements AcquiaLiftDrupalHttpClientInterface::get().

File

includes/acquia_lift.classes.inc, line 1745
Provides an agent type for Acquia Lift

Class

AcquiaLiftDrupalHttpClientInterface
A simple interface for http clients.

Code

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