mdref.json config
[mdref/mdref-http] / http / Client / enablePipelining.md
1 # http\Client http\Client::enablePipelining([bool $enable = true])
2
3 Enable sending pipelined requests to the same host if the driver supports it.
4
5 > ***NOTE:***
6 > This method has been deprecated in 2.3.0, please use http\Client::configure() instead.
7
8 ## Params:
9
10 * Optional bool $enable = true
11 Whether to enable pipelining.
12
13 ## Returns:
14
15 * http\Client, self.
16
17 ## Throws:
18
19 * http\Exception\InvalidArgumentException
20 * http\Exception\UnexpectedValueException