Skip to content
Advertisement

Add id to Guzzle Request

How can I add some meta data to guzzle request sends in Pool? I need to add id for request to determine which request assign to response. I want something like this – set id to request and get it from response.Set id to Header seems not to be good idea. Please help.

JavaScript

Advertisement

Answer

I solve this problem in that way:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement