v1.4.0
版本发布时间: 2017-09-15 18:14:31
clue/reactphp-buzz最新发布版本:v2.9.0(2020-07-03 18:47:43)
-
Feature:
Browser
acceptsConnectorInterface
and deprecate legacySender
(#76 by @clue)If you need custom connector settings (DNS resolution, TLS parameters, timeouts, proxy servers etc.), you can explicitly pass a custom instance of the
ConnectorInterface
:$connector = new \React\Socket\Connector($loop, array( 'dns' => '127.0.0.1', 'tcp' => array( 'bindto' => '192.168.10.1:0' ), 'tls' => array( 'verify_peer' => false, 'verify_peer_name' => false ) )); $browser = new Browser($loop, $connector);