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
Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,24 @@
1
1
# connection-manager-extra
2
2
3
3
This project provides _extra_ (in terms of "additional", "extraordinary", "special" and "unusual") decorators
4
-
built upon [connection-manager](https://github.com/clue/connection-manager).
4
+
built upon [react/socket-client](https://github.com/reactphp/socket-client).
5
5
6
6
## Introduction
7
7
8
-
If you're not already familar with [connection-manager](https://github.com/clue/connection-manager),
8
+
If you're not already familar with [react/socket-client](https://github.com/reactphp/socket-client),
9
9
think of it as an async (non-blocking) version of [`fsockopen()`](http://php.net/manual/en/function.fsockopen.php)
10
10
or [`stream_socket_client()`](http://php.net/manual/en/function.stream-socket-client.php).
11
11
I.e. before you can send and receive data to/from a remote server, you first have to establish a connection - which
12
12
takes its time because it involves several steps.
13
-
In order to be able to establish several connections at the same time, [connection-manager](https://github.com/clue/connection-manager) provides a simple
13
+
In order to be able to establish several connections at the same time, [react/socket-client](https://github.com/reactphp/socket-client) provides a simple
14
14
API to establish simple connections in an async (non-blocking) way.
15
15
16
-
This project includes several classes that extend this base functionality by implementing the same simple `ConnectionManagerInterface`.
17
-
This interface provides a single promise-based method `getConnection($host, $ip)` which can be used to easily notify
18
-
when the connection is successfully established or the `ConnectionManager` gives up and the connection fails.
16
+
This project includes several classes that extend this base functionality by implementing the same simple `ConnectorInterface`.
17
+
This interface provides a single promise-based method `create($host, $ip)` which can be used to easily notify
18
+
when the connection is successfully established or the `Connector` gives up and the connection fails.
0 commit comments