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

CloneableInstantiable
Methods
public __construct(callable $nextHandler)
 
    public __invoke(Psr\Http\Message\RequestInterface $request, array $options)
     
    • return PromiseInterface
    Properties
    private $nextHandler
     
    • var callable
    Methods
    private addExpectHeader(Psr\Http\Message\RequestInterface $request, array $options, array $modify)
     

    Add expect header

    • return void
    © 2020 Bruce Wells
    Search Namespaces \ Classes
    ConfigurationNumbers (0-9.) only