public function EntityEnclosingRequestInterface::setPostField

Set a POST field value

Parameters

string $key Key to set:

string $value Value to set:

Return value

EntityEnclosingRequestInterface

1 method overrides EntityEnclosingRequestInterface::setPostField()
EntityEnclosingRequest::setPostField in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/EntityEnclosingRequest.php
Set a POST field value

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/EntityEnclosingRequestInterface.php, line 61

Class

EntityEnclosingRequestInterface
HTTP request that sends an entity-body in the request message (POST, PUT)

Namespace

Guzzle\Http\Message

Code

public function setPostField($key, $value);