Skip to content

Commit eb89af1

Browse files
committed
Use new HTTP and Socket API
1 parent 4a65b8c commit eb89af1

File tree

4 files changed

+63
-65
lines changed

4 files changed

+63
-65
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
"php": ">=5.3",
2121
"clue/json-stream": "^0.1",
2222
"react/event-loop": "^1.2",
23-
"react/http": "^1.4",
23+
"react/http": "^1.5",
2424
"react/promise": "^2.0 || ^1.1",
2525
"react/promise-stream": "^1.0",
26-
"react/socket": "^1.8",
26+
"react/socket": "^1.9",
2727
"react/stream": "^1.2",
2828
"rize/uri-template": "^0.3"
2929
},

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function __construct(LoopInterface $loop = null, $url = null)
7979
throw new \InvalidArgumentException('Invalid Docker Engine API URL given');
8080
}
8181

82-
$browser = new Browser($loop, $connector);
82+
$browser = new Browser($connector, $loop);
8383
$this->browser = $browser->withBase($url);
8484
$this->parser = new ResponseParser();
8585
$this->streamingParser = new StreamingParser();

0 commit comments

Comments
 (0)