Tags: cboden/guzzle
Tags
Adding support for URI templates [Http] UriTemplate syntax supports {} or {{}} for backwards compatibility. [Http] Guzzle::inject() now allows {} or {{}} injection for consistency. [Http] BC: removing Guzzle\Http\Client::inject and now using Guzzle\Http\Client::expandTemplate. [Http] Can use a custom syntax for URI templates (this might be useful for something like Solr because Solr actually uses {}). [Http] Adding the ability to inject a custom UriTemplate into clients or just use the default UriTemplate [Http] You can now use an array when creating a request via a client to specify a URI template and additional template variables. [Service] Adding support for URI templates to service descriptions. [Service] [BC] removing Guzzle\Service\Description\ApiCommand::getPath() and replacing it with getUri(). [Service] Use "uri" instead of "path" when creating service descriptions. However, there is still backwards compatibility with the "path" attribute.
[Service] Fixing headers set using an array on commands via the const… …ructor Removing special handling of ClosureCommand Throwing an exception when required parameters are missing from a dynamic command Pass ApiCommand objects to a ClosureCommand in the second argument of the constructor, not in the api_command parameter key Adding Guzzle\Service\Command\DynamicCommand that will prepare HTTP requests based on an API command. Extend this class for advanced response processing for API commands. Making DynamicCommand the default command for ApiCommands Removing the old DynamicCommandFactory and replacing with a simpler ApiCommandFactory
PreviousNext