projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
implement curl multi options through http\Client::configure()
[m6w6/ext-http]
/
tests
/
client008.phpt
diff --git
a/tests/client008.phpt
b/tests/client008.phpt
index 31584d30c548e36372ef2695ec01c9607a90f6a8..2585f235d0b3e07456aee66fef8315ee12e156f7 100644
(file)
--- a/
tests/client008.phpt
+++ b/
tests/client008.phpt
@@
-13,8
+13,7
@@
$request = new http\Client\Request("GET", "http://www.example.org");
foreach (http\Client::getAvailableDrivers() as $driver) {
$client = new http\Client($driver);
foreach (http\Client::getAvailableDrivers() as $driver) {
$client = new http\Client($driver);
- $client->enablePipelining(true);
- $client->enableEvents(true);
+ $client->configure(["pipelining" => true, "use_eventloop" => true]);
$client->enqueue($request);
$client->enqueue(clone $request);
$client->enqueue($request);
$client->enqueue(clone $request);