v0.5.0
-
Feature / BC break: Replace
Factory
with simpleClient
constructor
(#85 by @clue)The
Client
now accepts a requiredLoopInterface
and an optional
ConnectorInterface
. It will now create a defaultConnector
if none
has been given.// old $dnsResolverFactory = new React\Dns\Resolver\Factory(); $dnsResolver = $dnsResolverFactory->createCached('8.8.8.8', $loop); $factory = new React\HttpClient\Factory(); $client = $factory->create($loop, $dnsResolver); // new $client = new React\HttpClient\Client($loop);
-
Feature:
Request::close()
now cancels pending connection attempt
(#91 by @clue) -
Feature / BC break: Replace deprecated SocketClient with new Socket component
(#74, #84 and #88 by @clue) -
Feature / BC break: Consistent stream semantics and forward compatibility with upcoming Stream v1.0
(#90 by @clue) -
Feature: Forward compatibility with upcoming EventLoop v1.0 and v0.5
(#89 by @clue)