Class Salient\Curler\CurlerFile

extends StreamPart

A file to upload to an HTTP endpoint

Methods
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
TYPE_BINARY, TYPE_FORM, TYPE_FORM_MULTIPART, TYPE_GZIP, TYPE_HTML, TYPE_JSON, TYPE_JWT, TYPE_TEXT, TYPE_XML, TYPE_YAML, TYPE_ZIP