[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/Subscriber/ -> Prepare.php (summary)

(no description)

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

Defines 1 class

Prepare:: (5 methods):
  getEvents()
  onBefore()
  addContentType()
  addContentLength()
  addExpectHeader()


Class: Prepare  - X-Ref

Prepares requests with a body before sending

**Request Options**

- expect: Set to true to enable the "Expect: 100-Continue" header for a
request that send a body. Set to false to disable "Expect: 100-Continue".
Set to a number so that the size of the payload must be greater than the
number in order to send the Expect header. Setting to a number will send
the Expect header for all requests in which the size of the payload cannot
be determined or where the body is not rewindable.
getEvents()   X-Ref
No description

onBefore(BeforeEvent $event)   X-Ref
No description

addContentType(RequestInterface $request,StreamInterface $body)   X-Ref
No description

addContentLength(RequestInterface $request,StreamInterface $body)   X-Ref
No description

addExpectHeader(RequestInterface $request,StreamInterface $body)   X-Ref
No description



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