guzzle / command

Provides the foundation for building web service clients with Guzzle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any example about response, Http Code and more ?

vschoener opened this issue · comments

Hi,

There is no documentation how to get the response, http code and more. Is there possible to add it ?

Yeah, it could use some docs, but the basic gist is that since you provide the response-to-result transformer logic, you can put anything from the response into your result objects, however you like. The transformer gets a reference to the response, request, and command in order to provide the most flexibility.