[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/Post/ -> MultipartBody.php (summary)

(no description)

File Size: 109 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MultipartBody:: (6 methods):
  __construct()
  getBoundary()
  isWritable()
  getFieldString()
  getFileHeaders()
  createStream()


Class: MultipartBody  - X-Ref

Stream that when read returns bytes for a streaming multipart/form-data body

__construct(array $fields = [],array $files = [],$boundary = null)   X-Ref

param: array  $fields   Associative array of field names to values where
param: array  $files    Associative array of PostFileInterface objects
param: string $boundary You can optionally provide a specific boundary

getBoundary()   X-Ref
Get the boundary

return: string

isWritable()   X-Ref
No description

getFieldString($name, $value)   X-Ref
Get the string needed to transfer a POST field


getFileHeaders(PostFileInterface $file)   X-Ref
Get the headers needed before transferring the content of a POST file


createStream(array $fields, array $files)   X-Ref
Create the aggregate stream that will be used to upload the POST data




Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1