public function AcquiaLiftDrupalHttpClientInterface::put in Acquia Lift Connector 7
Same name and namespace in other branches
- 7.2 includes/AcquiaLiftDrupalHttpClientInterface.inc \AcquiaLiftDrupalHttpClientInterface::put()
Create a PUT request for the client
Parameters
string|array $uri Resource URI:
array|Collection $headers HTTP headers:
string|resource|EntityBodyInterface $body Body to send in the request:
array $options Options to apply to the request:
2 methods override AcquiaLiftDrupalHttpClientInterface::put()
- AcquiaLiftDrupalHttpClient::put in includes/
acquia_lift.classes.inc - Implements AcquiaLiftDrupalHttpClientInterface::put().
- DummyAcquiaLiftHttpClient::put in tests/
acquia_lift.test_classes.inc - Implements AcquiaLiftDrupalHttpClientInterface::put().
File
- includes/
acquia_lift.classes.inc, line 1755 - Provides an agent type for Acquia Lift
Class
- AcquiaLiftDrupalHttpClientInterface
- A simple interface for http clients.
Code
public function put($uri = null, $headers = null, $body = null, array $options = array());