public function EntityEnclosingRequestInterface::addPostFiles

Add POST files to use in the upload

Parameters

array $files An array of POST fields => filenames where filename can be a string or PostFileInterface:

Return value

EntityEnclosingRequestInterface

1 method overrides EntityEnclosingRequestInterface::addPostFiles()
EntityEnclosingRequest::addPostFiles in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/EntityEnclosingRequest.php
Add POST files to use in the upload

File

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

Class

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

Namespace

Guzzle\Http\Message

Code

public function addPostFiles(array $files);