You are here

public function PrepareBodyMiddleware::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php \GuzzleHttp\PrepareBodyMiddleware::__construct()

Parameters

callable $nextHandler Next handler to invoke.:

File

vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php, line 23

Class

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

Namespace

GuzzleHttp

Code

public function __construct(callable $nextHandler) {
  $this->nextHandler = $nextHandler;
}