You are here

constant RequestOptions::MULTIPART in Lockr 7.3

multipart: (array) Array of associative arrays, each containing a required "name" key mapping to the form field, name, a required "contents" key mapping to a StreamInterface|resource|string, an optional "headers" associative array of custom headers, and an optional "filename" key mapping to a string to send as the filename in the part. If no "filename" key is present, then no "filename" attribute will be added to the part.

File

vendor/guzzlehttp/guzzle/src/RequestOptions.php, line 151

Class

RequestOptions
This class contains a list of built-in Guzzle request options.

Namespace

GuzzleHttp

Code

const MULTIPART = 'multipart';