public function HttpClientInterface::postFile in Backup and Migrate 5.0.x
Post a file along with other data (as an array).
Parameters
$url:
\Drupal\backup_migrate\Core\File\ReadableStreamBackupFile $file:
$data:
Return value
mixed
1 method overrides HttpClientInterface::postFile()
- PhpCurlHttpClient::postFile in src/
Core/ Service/ PhpCurlHttpClient.php - Post a file along with other data (as an array).
File
- src/
Core/ Service/ HttpClientInterface.php, line 42
Class
- HttpClientInterface
- Interface HttpClientInterface.
Namespace
Drupal\backup_migrate\Core\ServiceCode
public function postFile($url, ReadableStreamBackupFile $file, $data);