public function PrepareBodyMiddleware::__construct in Lockr 7.3
Parameters
callable $nextHandler Next handler to invoke.:
File
- vendor/
guzzlehttp/ guzzle/ src/ PrepareBodyMiddleware.php, line 20
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;
}