Releases: reactphp/http-client
Releases · reactphp/http-client
v0.5.1
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)
v0.4.17
v0.4.16
- Fix: Trim leading zeros from chunk size #73 @maciejmrozinski
v0.4.15
- Improvement: Add examples #69 @clue
- Fix: Ensure checking for 0 length chunk, when we should check for it #71 @WyriHaximus
v0.4.14
- Fix: Ensure the first bit of body directly after the headers is emitted into the stream #68 @WyriHaximus
v0.4.13
v0.4.12
- Fix: Changed $stream from DuplexStreamInterface to ReadableStreamInterface in Response constructor #63 @WyriHaximus
v0.4.11
- Feature: Chunked encoding @WyriHaximus