Method | Description | |
---|---|---|
__construct ( string $path ) | ||
getBody ( ) : Amp\Promise | Retrieve the sendable Amp\Artax entity body representation | |
getHeaders ( ) : Amp\Promise | Return a key-value array of headers to add to the outbound request | |
getLength ( ) : Amp\Promise | Retrieve the entity body's content length |
public __construct ( string $path ) | ||
$path | string | The filesystem path for the file we wish to send |
public getBody ( ) : Amp\Promise | ||
return | Amp\Promise |
public getHeaders ( ) : Amp\Promise | ||
return | Amp\Promise |
public getLength ( ) : Amp\Promise | ||
return | Amp\Promise |