[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

PostBody:: (34 methods):
  applyRequestHeaders()
  forceMultipartUpload()
  setAggregator()
  setField()
  replaceFields()
  getField()
  removeField()
  getFields()
  hasField()
  getFile()
  getFiles()
  addFile()
  clearFiles()
  count()
  __toString()
  getContents()
  close()
  detach()
  attach()
  eof()
  tell()
  isSeekable()
  isReadable()
  isWritable()
  getSize()
  seek()
  read()
  write()
  getMetadata()
  getBody()
  getAggregator()
  createMultipart()
  createUrlEncoded()
  mutate()


Class: PostBody  - X-Ref

Holds POST fields and files and creates a streaming body when read methods
are called on the object.

applyRequestHeaders(RequestInterface $request)   X-Ref
Applies request headers to a request based on the POST state

param: RequestInterface $request Request to update

forceMultipartUpload($force)   X-Ref
No description

setAggregator(callable $aggregator)   X-Ref
No description

setField($name, $value)   X-Ref
No description

replaceFields(array $fields)   X-Ref
No description

getField($name)   X-Ref
No description

removeField($name)   X-Ref
No description

getFields($asString = false)   X-Ref
No description

hasField($name)   X-Ref
No description

getFile($name)   X-Ref
No description

getFiles()   X-Ref
No description

addFile(PostFileInterface $file)   X-Ref
No description

clearFiles()   X-Ref
No description

count()   X-Ref
Returns the numbers of fields + files

return: int

__toString()   X-Ref
No description

getContents($maxLength = -1)   X-Ref
No description

close()   X-Ref
No description

detach()   X-Ref
No description

attach($stream)   X-Ref
No description

eof()   X-Ref
No description

tell()   X-Ref
No description

isSeekable()   X-Ref
No description

isReadable()   X-Ref
No description

isWritable()   X-Ref
No description

getSize()   X-Ref
No description

seek($offset, $whence = SEEK_SET)   X-Ref
No description

read($length)   X-Ref
No description

write($string)   X-Ref
No description

getMetadata($key = null)   X-Ref
No description

getBody()   X-Ref
Return a stream object that is built from the POST fields and files.

If one has already been created, the previously created stream will be
returned.

getAggregator()   X-Ref
Get the aggregator used to join multi-valued field parameters

return: callable

createMultipart()   X-Ref
Creates a multipart/form-data body stream

return: MultipartBody

createUrlEncoded()   X-Ref
Creates an application/x-www-form-urlencoded stream body

return: StreamInterface

mutate()   X-Ref
Get rid of any cached data




Generated: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1