You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// or connect via TCP/IP to a remote Docker Engine API
81
+
$client = new Clue\React\Docker\Client($loop, 'http://10.0.0.2:8000/');
96
82
```
97
83
98
-
### Client
99
-
100
-
The `Client` is responsible for assembling and sending HTTP requests to the Docker API.
101
-
It requires a `Browser` object bound to the main `EventLoop` in order to handle async requests and a base URL.
102
-
The recommended way to create a `Client` is using the `Factory` (see above).
103
-
104
84
#### Commands
105
85
106
86
All public methods on the `Client` resemble the API described in the [Docker Engine API documentation](https://docs.docker.com/develop/sdk/) like this:
@@ -162,8 +142,7 @@ The resulting blocking code could look something like this:
0 commit comments