extends |
StreamPart |
|---|
A file to upload to an HTTP endpoint
| Methods | ||
|---|---|---|
public
|
__construct(
string $filename,
string|null $uploadFilename = null,
string|null $mediaType = null,
?string $asciiFilename = null,
?string $name = null,
)
|
# |
| Methods inherited from Salient\Http\Message\StreamPart |
|---|
fromFile(), getName(), getFilename(), getAsciiFilename(), getMediaType(), getBody(), withName() |
| Methods used from Salient\Http\Message\HasBody |
|---|
filterBody() |
| Methods used from Salient\Core\Concern\ImmutableTrait |
|---|
with(), without(), handlePropertyChanged() |
| Constants inherited from Salient\Contract\Http\HasMediaType |
|---|
|