3
namespace GuzzleHttp\Post;
5
use GuzzleHttp\Stream\StreamInterface;
8
* Post file upload interface
10
interface PostFileInterface
13
* Get the name of the form field
17
public function getName();
20
* Get the full path to the file
24
public function getFilename();
29
* @return StreamInterface
31
public function getContent();
34
* Gets all POST file headers.
36
* The keys represent the header name as it will be sent over the wire, and
37
* each value is a string.
39
* @return array Returns an associative array of the file's headers.
41
public function getHeaders();