(no description)
File Size: | 159 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
MultipartStream:: (8 methods):
__construct()
getBoundary()
isWritable()
getHeaders()
createStream()
addElement()
createElement()
getHeader()
Class: MultipartStream - X-Ref
Stream that when read returns bytes for a streaming multipart or__construct(array $elements = [], string $boundary = null) X-Ref |
param: array $elements Array of associative arrays, each containing a param: string $boundary You can optionally provide a specific boundary |
getBoundary() X-Ref |
No description |
isWritable() X-Ref |
No description |
getHeaders(array $headers) X-Ref |
Get the headers needed before transferring the content of a POST file param: array<string, string> $headers |
createStream(array $elements = []) X-Ref |
Create the aggregate stream that will be used to upload the POST data |
addElement(AppendStream $stream, array $element) X-Ref |
No description |
createElement(string $name, StreamInterface $stream, ?string $filename, array $headers) X-Ref |
No description |
getHeader(array $headers, string $key) X-Ref |
No description |