File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.7.0 (2017-04-02)
4+
5+ * Feature / BC break: Add main ` Connector ` facade
6+ (#93 by @clue )
7+
8+ The new ` Connector ` class acts as a facade for all underlying connectors,
9+ which are now marked as "advanced usage", but continue to work unchanged.
10+ This now makes it trivially easy to create plaintext TCP/IP, secure TLS and
11+ Unix domain socket (UDS) connection streams simply like this:
12+
13+ ``` php
14+ $connector = new Connector($loop);
15+
16+ $connector->connect('tls://google.com:443')->then(function (ConnectionInterface $conn) {
17+ $conn->write("GET / HTTP/1.0\r\n\r\n");
18+ });
19+ ```
20+
21+ Optionally, it accepts options to configure all underlying connectors, such
22+ as using a custom DNS setup, timeout values and disabling certain protocols
23+ and much more. See the README for more details.
24+
325## 0.6.2 (2017-03-17)
426
527* Feature / Fix: Support SNI on legacy PHP < 5.6 and add documentation for
Original file line number Diff line number Diff line change @@ -625,7 +625,7 @@ The recommended way to install this library is [through Composer](http://getcomp
625625This will install the latest supported version:
626626
627627``` bash
628- $ composer require react/socket-client:^0.6.2
628+ $ composer require react/socket-client:^0.7
629629```
630630
631631More details about version upgrades can be found in the [ CHANGELOG] ( CHANGELOG.md ) .
You can’t perform that action at this time.
0 commit comments