Copied!

Prepares requests that contain a body, adding the Content-Length, Content-Type, and Expect headers.

  • final
CloneableInstantiable
Methods
public __construct(callable $nextHandler)
 
  • param callable $nextHandler Next handler to invoke.
public __invoke(Psr\Http\Message\RequestInterface $request, array $options) : GuzzleHttp\Promise\PromiseInterface
Properties
private $nextHandler = NULL
 
  • var callable
Methods
private addExpectHeader(Psr\Http\Message\RequestInterface $request, array $options, array $modify) : void
 

Add expect header

© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration