VersionBridgePlugin
and VersionBridgeClient
to help plugins and clients to support both
1.x and 2.x version of php-http/client-common
and php-http/httplug
.decider
to exception_decider
and delay
to exception_delay
. The old names still work but are deprecated.PluginClientFactory
to create PluginClient
instances.RetryPlugin
.RetryPlugin
.The RetryPlugin
does now wait between retries. To disable/change this feature you must write something like:
$plugin = new RetryPlugin(['delay' => function(RequestInterface $request, Exception $e, $retries) {
return 0;
});
debug_plugins
option for PluginClient
is deprecated and will be removed in 2.0. Use the decorator design pattern instead like in ProfilePlugin.QueryDefaultsPlugin
to add default query parameters.DecoderPlugin
does not longer claim to support compress
content encodingCookiePlugin
allows main domain cookies to be sent/stored for subdomainsDecoderPlugin
uses the right FilteredStream
to handle deflate
content encodingStreamInterface::getSize
to string in ContentLengthPlugin
debug_plugins
option for PluginClient
php-http/plugins