php-http/client-common
Common utilities for HTTPlug HTTP clients: a BatchClient for parallel requests, a convenience client exposing HTTP verbs as methods, and emulator/decorator layers for sync and async clients. Designed to simplify client composition and tooling.
php-http/message-factory from composer requirements as it is abandoned and this package does not actually use it.stream_factory option.
To keep sending the body in all cases, set the stream_factory option to null explicitly.strict option to RedirectPlugin to allow preserving the request method on redirections with status 300, 301 and 302.PluginClientHttpMethodsClientsymfony/options-resolver: ^2.6PluginClient with pluginsSee change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
See change log for changes.
Support for Symfony 4
PluginClientFactory to create PluginClient instances.RetryPlugin.RetryPlugin.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.Added QueryDefaultsPlugin
DecoderPlugin compression fixes
Cast return value of StreamInterface::getSize to string in ContentLengthPlugin
See change log for changes.
How can I help you explore Laravel packages today?