You are here

public function HttpClientInterface::postFile in Backup and Migrate 8.4

Post a file along with other data (as an array).

Parameters

$url:

\BackupMigrate\Core\File\ReadableStreamBackupFile $file:

$data:

Return value

mixed

1 method overrides HttpClientInterface::postFile()
PhpCurlHttpClient::postFile in lib/backup_migrate_core/src/Service/PhpCurlHttpClient.php
Post a file along with other data (as an array).

File

lib/backup_migrate_core/src/Service/HTTPClientInterface.php, line 42

Class

HttpClientInterface
Interface HttpClientInterface.

Namespace

BackupMigrate\Core\Service

Code

public function postFile($url, ReadableStreamBackupFile $file, $data);