public function PrepareBodyMiddleware::__construct in Zircon Profile 8
Same name and namespace in other branches
- 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
GuzzleHttpCode
public function __construct(callable $nextHandler) {
$this->nextHandler = $nextHandler;
}