$nextHandler
$nextHandler : callable
Prepares requests that contain a body, adding the Content-Length, Content-Type, and Expect headers.
__invoke(\Psr\Http\Message\RequestInterface $request, array $options) : \GuzzleHttp\Promise\PromiseInterface
\Psr\Http\Message\RequestInterface | $request | |
array | $options |
addExpectHeader(\Psr\Http\Message\RequestInterface $request, array $options, array $modify)
\Psr\Http\Message\RequestInterface | $request | |
array | $options | |
array | $modify |