@@ -62,12 +62,12 @@ $connector->connect('www.google.com:80')->then(function ($stream) {
62
62
Because everything uses the same simple API, the resulting ` Connector ` classes can be easily interchanged
63
63
and be used in places that expect the normal ` ConnectorInterface ` . This can be used to stack them into each other,
64
64
like using [ timeouts] ( #timeout ) for TCP connections, [ delaying] ( #delay ) SSL/TLS connections,
65
- [ retrying] ( #repeat ) failed connection attemps , [ randomly] ( #random ) picking a ` Connector ` or
65
+ [ retrying] ( #repeat ) failed connection attempts , [ randomly] ( #random ) picking a ` Connector ` or
66
66
any combination thereof.
67
67
68
68
## Usage
69
69
70
- This section lists all this libraries' features along with some examples.
70
+ This section lists all features of this library along with some examples.
71
71
The examples assume you've [ installed] ( #install ) this library and
72
72
already [ set up a ` Socket/Connector ` instance ` $connector ` ] ( https://github.com/reactphp/socket#connector ) .
73
73
@@ -148,7 +148,7 @@ simplify exchanging the actual `ConnectionManager` during runtime (`->setConnect
148
148
149
149
### Consecutive
150
150
151
- The ` ConnectionManagerConsecutive($connectors) ` establishs connections by trying to connect through
151
+ The ` ConnectionManagerConsecutive($connectors) ` establishes connections by trying to connect through
152
152
any of the given ` ConnectionManager ` s in consecutive order until the first one succeeds.
153
153
154
154
``` php
@@ -186,7 +186,7 @@ $concurrent = new ConnectionManagerConcurrent(array(
186
186
187
187
The ` ConnectionManagerSelective($connectors) ` manages a list of ` Connector ` s and
188
188
forwards each connection through the first matching one.
189
- This can be used to implement networking access control lists (ACLs) or firewill
189
+ This can be used to implement networking access control lists (ACLs) or firewall
190
190
rules like a blacklist or whitelist.
191
191
192
192
This allows fine-grained control on how to handle outgoing connections, like
@@ -247,7 +247,7 @@ Passing anything else will result in an `InvalidArgumentException`.
247
247
248
248
## Install
249
249
250
- The recommended way to install this library is [ through Composer] ( https://getcomposer.org ) .
250
+ The recommended way to install this library is [ through Composer] ( https://getcomposer.org/ ) .
251
251
[ New to Composer?] ( https://getcomposer.org/doc/00-intro.md )
252
252
253
253
This project follows [ SemVer] ( https://semver.org/ ) .
@@ -262,12 +262,12 @@ See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
262
262
This project aims to run on any platform and thus does not require any PHP
263
263
extensions and supports running on legacy PHP 5.3 through current PHP 8+ and
264
264
HHVM.
265
- It's * highly recommended to use PHP 7+ * for this project.
265
+ It's * highly recommended to use the latest supported PHP version * for this project.
266
266
267
267
## Tests
268
268
269
269
To run the test suite, you first need to clone this repo and then install all
270
- dependencies [ through Composer] ( https://getcomposer.org ) :
270
+ dependencies [ through Composer] ( https://getcomposer.org/ ) :
271
271
272
272
``` bash
273
273
$ composer install
@@ -276,7 +276,7 @@ $ composer install
276
276
To run the test suite, go to the project root and run:
277
277
278
278
``` bash
279
- $ php vendor/bin/phpunit
279
+ $ vendor/bin/phpunit
280
280
```
281
281
282
282
## License
0 commit comments